Deployment Guide¶
Environments¶
| Environment | Domain | Deploys From | Server IP |
|---|---|---|---|
| Production | server.dannyhaslund.dk |
main branch |
192.168.1.10 |
| Staging | test-server.dannyhaslund.dk |
develop branch |
192.168.1.7 |
| PR Preview | http://192.168.1.6:<port> |
PR branches | 192.168.1.6 |
How Deployments Work¶
- Push to
develop→ staging auto-deploys viadeploy-staging.yml - Merge
developintomain→ production auto-deploys viadeploy.yml - Open a PR touching
server/→ ephemeral Docker env viapr-environment.yml - Tag
v*→ release created with changelog viarelease.yml
Infrastructure Setup Guides¶
Located in infrastructure/guides/ in the repository:
01-proxmox-lxc-setup.md— Create the 3 LXC containers04-app-server.md— PostgreSQL + application service (prod & staging)05-docs-server.md— Static docs site via Nginx06-nginx-proxy-manager.md— Configure proxy hosts and TLS