Synology Container Manager and QNAP Container Station build a project from a folder and look for `docker-compose.yml` in it. Pointing either at `docker/` finds the DEV service stack and starts the wrong thing, so production now has a root-level entry point. - docker-compose.yml at the repo root: `include`s the prod stack (relative paths resolve against the included file's directory, so the build context and backup.sh still resolve) and pins `name: webmail-prod`. A project name typed into the GUI overrides the file's, so the docs say to type the same one. - webmail.sh init now drops a `.env` symlink to docker/.env.prod in the repo root: the GUI reads `.env` from the project folder, and a symlink keeps one file to edit instead of two copies that drift. - Required-variable guards on DATA_ROOT / MASTER_KEY / POSTGRES_PASSWORD / APP_DOMAIN. A bare `docker compose up` with no env file used to interpolate DATA_ROOT to "" and bind-mount /postgres at the root of the filesystem; it now aborts with a message naming the variable. - require_env no longer sources the env file. Sourcing executed it as shell: ENABLED_PLUGINS=calendar contacts labels filters ran `contacts` as a command and broke every subcommand, and anything else in the file that holds the master key would have been executed too. Replaced with a compose-compatible KEY=VALUE parser; the template quotes the value as well. - doctor: no longer aborts on a not-yet-created DATA_ROOT (set -e + pipefail killed it inside a `df` assignment — on exactly the pre-install run where its NFS/SMB check is the one that matters), and probes the nearest existing ancestor so that check works before the directory exists. - docs §2.5 rewritten with what the GUI can and cannot do: no compose profiles (so no Meilisearch), no health-gated update, no restore; plus the Task Scheduler route for generating MASTER_KEY without enabling SSH, and why init/migrate showing "Exited (0)" is correct. Verified by running `docker compose up -d --wait` from the repo root with no -f and no --env-file (what the GUI does): all services healthy, migrations applied, app served, and deploy/webmail.sh manages the same project. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Nux3LCu4zP9nih4BRhPyHw
43 lines
525 B
Plaintext
43 lines
525 B
Plaintext
# Secrets / local env
|
|
.env.dev
|
|
docker/.env.prod
|
|
docker/.env
|
|
/.env
|
|
.env.*.local
|
|
gitea-server-credentials.md
|
|
|
|
# Local tooling
|
|
.claude/
|
|
|
|
# Blob store / runtime data (email content — never commit)
|
|
/var/
|
|
/backend/var/
|
|
**/var/blobs/
|
|
|
|
# Python
|
|
__pycache__/
|
|
*.py[cod]
|
|
.mypy_cache/
|
|
.ruff_cache/
|
|
.pytest_cache/
|
|
*.egg-info/
|
|
.eggs/
|
|
build/
|
|
dist/
|
|
|
|
# Node / frontend
|
|
node_modules/
|
|
frontend/dist/
|
|
.vite/
|
|
|
|
# Editor / OS
|
|
.DS_Store
|
|
.idea/
|
|
.vscode/
|
|
|
|
# Editor backups
|
|
*~
|
|
|
|
# Local session helper (Claude Code resume command)
|
|
/claude-session.txt
|