You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
573 B
25 lines
573 B
version: '3.8'
|
|
|
|
services:
|
|
openhamclock:
|
|
build: .
|
|
container_name: openhamclock
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- PORT=3000
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 10s
|
|
# Uncomment to set timezone
|
|
# environment:
|
|
# - TZ=America/Denver
|
|
|
|
# For development with hot reload:
|
|
# docker compose -f docker-compose.dev.yml up
|