recipe-manager/docker-compose.yml

29 lines
958 B
YAML

version: '3.8'
services:
recipe-manager:
build: .
container_name: recipe-manager-app
ports:
- "3000:3000"
volumes:
- ./data:/usr/src/app/data
restart: unless-stopped
environment:
- PORT=3000
- NODE_ENV=production
- LOG_LEVEL=info
# Canonical Public Base URL / FQDN (e.g. https://recipes.yourdomain.com).
# Used for public recipe share links, shopping list share links, and OAuth callbacks.
# If unset, dynamically resolves via reverse proxy headers (X-Forwarded-*) or browser origin.
- APP_URL=${APP_URL:-}
# Rotate container logs (~50 MB max on disk). The "tag" is used by the
# observability stack's Fluent Bit collector to route these logs to the
# "forkfolio" stream in OpenObserve (see observability/README.md).
logging:
driver: json-file
options:
max-size: "10m"
max-file: "5"
compress: "true"
tag: "forkfolio"