File size: 575 Bytes
6711fd5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | version: '3.8'
services:
minecraft-fx:
build:
context: .
dockerfile: Dockerfile
container_name: minecraft-fx-app
ports:
- "8080:8080"
environment:
- NODE_ENV=production
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:8080"]
interval: 30s
timeout: 10s
retries: 3
start_period: 5s
networks:
- minecraft-fx-network
volumes:
- ./dist:/usr/share/nginx/html:ro
networks:
minecraft-fx-network:
driver: bridge
|