Add Deployment section to README #30
Loading…
Reference in a new issue
No description provided.
Delete branch "mailship-nsn-add-deployment-section-to-readme-c41"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bead: mailship-nsn
Documents how mailship is deployed in production, covering the multi-stage Docker build, Docker Compose setup, required environment variables, and persistent SQLite data volume management.
Changes:
build→production), base image trim-down, non-rootappuser, and writable/datavolume for SQLite.docker-compose.ymlconfig:restart: unless-stopped,${VAR:?required}env validation, named volume for persistence, and commands for rebuilds and image pulls..env, use a secret manager).sqlite3 .dump, file-level copy, zero-downtime), anti-patterns (no multi-instance sharing due to in-process cron), and a migration/snapshot workflow.