19 lines
500 B
YAML
19 lines
500 B
YAML
services:
|
|
app:
|
|
image: registry.achmad.dev/dota-zombie-invasion:latest
|
|
pull_policy: always
|
|
ports:
|
|
- "6100:3000"
|
|
volumes:
|
|
- ./data:/app/data
|
|
environment:
|
|
- ADMIN_PASSWORD=${ADMIN_PASSWORD:-admin123}
|
|
- NODE_ENV=production
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/admin/check"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 15s
|