fx-1 / docker-compose.yml
felix-fx's picture
Initial commit from GitHub fx-1
6711fd5 verified
Raw History Blame Contribute Delete
575 Bytes
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