17 lines
498 B
YAML
17 lines
498 B
YAML
services:
|
|
debbie-windler-seamstress:
|
|
build: .
|
|
container_name: debbie-windler-seamstress
|
|
restart: unless-stopped
|
|
env_file: .env
|
|
ports:
|
|
- "${PORT:-3000}:3000"
|
|
volumes:
|
|
- ./storage:/app/storage
|
|
- ./public/uploads:/app/public/uploads
|
|
healthcheck:
|
|
test: ["CMD", "node", "--no-warnings", "-e", "fetch('http://127.0.0.1:3000/healthz').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
retries: 3
|