mirror of
https://github.com/taogaetz/chefbible.git
synced 2025-12-06 11:47:24 -05:00
29 lines
648 B
YAML
29 lines
648 B
YAML
version: '3.8'
|
|
services:
|
|
chefbible:
|
|
build: .
|
|
container_name: chefbible
|
|
restart: unless-stopped
|
|
ports:
|
|
- "4000:3000"
|
|
environment:
|
|
- NODE_ENV=production
|
|
- DATABASE_URL=file:/app/data/database.db
|
|
- MAGIC_LINK_TOKEN=${MAGIC_LINK_TOKEN}
|
|
- CLOUDINARY_URL=${CLOUDINARY_URL}
|
|
- ORIGIN=${ORIGIN}
|
|
- ACCESS_PIN=${ACCESS_PIN}
|
|
volumes:
|
|
- chefbible-data:/app/data
|
|
healthcheck:
|
|
test: [ "CMD", "wget", "--quiet", "--tries=1", "--spider", "http://127.0.0.1:3000/health" ]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
|
|
volumes:
|
|
chefbible-data:
|
|
|
|
|