diff --git a/README.md b/README.md index 468b260..18203c2 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,33 @@ RANKINGS_STATE_PATH=/data/rankings-state.json npm start In a containerized setup, mount `/data` as a named volume or bind mount. If you reverse-proxy the app through Caddy on the same domain, the rankings page will use the shared API automatically with no extra CORS setup. +The current server deployment lives one directory up from this repo in `~/docker/websites/docker-compose.yml` and uses this `gallery` service definition: + +```yaml +services: + gallery: + build: + context: ./gallery-src + container_name: gallery + environment: + HOST: 0.0.0.0 + PORT: 80 + RANKINGS_STATE_PATH: /data/rankings-state.json + volumes: + - gallery-rankings:/data + restart: unless-stopped + networks: + - web + +networks: + web: + external: true + name: web + +volumes: + gallery-rankings: +``` + ## Image Conventions - Full-size images and thumbnails share the same numeric ID