Files
sfera/docker-compose.yml

20 lines
427 B
YAML

version: '3.8'
services:
app:
build: .
ports:
- "3017:3000"
env_file:
- stack.env
environment:
- NODE_ENV=production
- PORT=3000
- HOSTNAME=0.0.0.0
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:3000/api/health"]
timeout: 10s
interval: 30s
retries: 3
start_period: 40s