amber-backend/docker-compose.yml

21 lines
598 B
YAML
Raw Permalink Normal View History

# Local development / verification only. On Coolify, deploy the Dockerfile as an
# application resource (see README) — Coolify manages the domain, TLS and volume.
services:
pocketbase:
build:
context: .
args:
PB_VERSION: 0.39.6
ports:
- "8090:8090"
environment:
# Family invite code (onboarding.pb.js). Unset → registration + template
# route fail closed. Locally: AMBER_INVITE_CODE=test docker compose up.
AMBER_INVITE_CODE: ${AMBER_INVITE_CODE:-}
volumes:
- pb_data:/pb_data
restart: unless-stopped
volumes:
pb_data: