24 lines
1.1 KiB
YAML
24 lines
1.1 KiB
YAML
# Production stack, at the repo root so the NAS GUIs find it.
|
|||
|
|
#
|
||
|
|
# Synology Container Manager and QNAP Container Station create a project from a
|
||
|
|
# folder and look for `docker-compose.yml` in it. Pointing them at `docker/`
|
||
|
|
# would find the DEV service stack (docker/docker-compose.yml: throwaway
|
||
|
|
# Postgres/Redis/Meilisearch/GreenMail on published dev ports) and start the
|
||
|
|
# wrong thing entirely — so the production entry point lives here instead.
|
||
|
|
#
|
||
|
|
# Everything real is in docker/docker-compose.prod.yml; `include` resolves that
|
||
|
|
# file's relative paths against its own directory, so the build context and
|
||
|
|
# backup.sh still resolve correctly from here.
|
||
|
|
#
|
||
|
|
# Config comes from `.env` in this directory — `deploy/webmail.sh init` creates
|
||
|
|
# it as a symlink to docker/.env.prod so there is only ever one copy to edit.
|
||
|
|
#
|
||
|
|
# GUI: create a project on this folder, name it `webmail-prod`
|
||
|
|
# CLI: ./deploy/webmail.sh up (preferred: adds backup, health-gated
|
||
|
|
# updates, rollback and restore)
|
||
|
|
|
||
|
|
name: webmail-prod
|
||
|
|
|
||
|
|
include:
|
||
|
|
- docker/docker-compose.prod.yml
|