chore(mailu): pin Docker network subnet to match SUBNET; ignore runtime state

The base compose declares no network, so Docker assigns the default bridge an
arbitrary subnet that won't match mailu.env SUBNET — breaking Mailu's internal
service auth/relay. Add a docker-compose.override.yml.example that pins the
default network to 192.168.203.0/24, and gitignore the live override + Mailu
runtime state (mailu.env, certs/, data/).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Anthony Ettinger 2026-06-23 09:11:28 +00:00
parent 8604ef3f78
commit ed0ccba64a
3 changed files with 26 additions and 4 deletions

6
.gitignore vendored
View file

@ -6,5 +6,11 @@
*.log
.env
# Mailu runtime: secrets, local network override, and state
deploy/mailu/mailu.env
deploy/mailu/docker-compose.override.yml
deploy/mailu/data/
deploy/mailu/certs/
# Claude Code local worktrees/state
.claude/