Files
Dungeons-Proxy/compose.yaml

22 lines
422 B
YAML

services:
gateway:
build: .
init: true
restart: unless-stopped
env_file: .env
environment:
NODE_ENV: production
HOST: 0.0.0.0
PORT: 8080
DATA_FILE: /app/data/access.json
ports:
- "127.0.0.1:${PORT:-8080}:8080"
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- access-data:/app/data
stop_grace_period: 45s
volumes:
access-data: