biggame-xml-proxy/docker-compose.yml

18 lines
457 B
YAML

services:
biggame-xml-proxy:
image: node:20-alpine
container_name: biggame-xml-proxy
working_dir: /app
volumes:
- ./:/app
command: sh -c "npm install --silent && node server.js"
ports:
- "${PORT:-3737}:${PORT:-3737}"
env_file:
- .env
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:${PORT:-3737}/ping"]
interval: 15s
timeout: 5s
retries: 3