Files
Idle-Fantasy-Save-Viewer/docker-compose.yml
T
elpatron 5c87df1e5e Publish port 5000 for external nginx Proxy Manager upstreams.
Map the container to the host so NPM can reach http://<host>:5000 and document the docker-network alternative in the README.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-19 16:52:46 +02:00

27 lines
544 B
YAML

services:
viewer:
build: .
ports:
- "5000:5000"
environment:
DATA_DIR: /data
TRUST_PROXY: "1"
DISABLE_LOCAL_VIEWER: "1"
PREFERRED_URL_SCHEME: https
MAX_UPLOAD_MB: "10"
RATE_LIMIT_VIEWER_CREATE: "5 per minute"
RATE_LIMIT_IMPORT: "20 per hour"
volumes:
- viewer-data:/data
restart: unless-stopped
# Attach to your nginx Proxy Manager network (uncomment and set name):
# networks:
# - npm
volumes:
viewer-data:
# networks:
# npm:
# external: true