bilhej/docker
Joakim Mörling 0137a5005b
All checks were successful
CI / Lint, type check, unit tests, coverage (push) Successful in 1m51s
CI / E2E browser tests (push) Successful in 1m18s
feat: add production deploy pipeline and nginx config for bilhej.se
Add a manually-triggered deploy workflow that builds production Docker
images and starts the stack on the srvr.nu server.

- : workflow_dispatch with version input,
  writes production .env from Forgejo secrets, builds and starts the
  docker-compose.prod.yml stack, runs health checks via temporary curl
  containers on the bilhej_default Docker network, tags the git commit.

- : nginx server block for bilhej.se.
  Handles HTTP→HTTPS redirect, SSL termination with Let's Encrypt certs,
  and proxies all traffic to the bilhej-frontend-prod container on the
  Docker 'web' network. The frontend container handles /api/ proxying
  to the backend internally.

To deploy:
1. Add production secrets to Forgejo (Settings → Actions → Secrets)
2. Trigger deploy from Actions → Deploy to Production
3. Run certbot for bilhej.se SSL (one-time setup)
4. Add docker/bilhej.nginx.conf to srvr.nu nginx container
5. Point bilhej.se DNS A record to srvr.nu IP
2026-05-19 21:21:36 +02:00
..
backend.Dockerfile refactor: move Gradle wrapper to repo root, add convenience tasks 2026-05-01 18:40:18 +02:00
backend.e2e.Dockerfile feat: add isolated E2E browser test pipeline for Forgejo Actions 2026-05-19 18:07:12 +02:00
backend.prod.Dockerfile feat: add Docker Compose setup with dev and prod configurations 2026-05-01 01:45:07 +02:00
bilhej.nginx.conf feat: add production deploy pipeline and nginx config for bilhej.se 2026-05-19 21:21:36 +02:00
entrypoint.sh feat: add Docker Compose setup with dev and prod configurations 2026-05-01 01:45:07 +02:00
frontend.Dockerfile feat: add Docker Compose setup with dev and prod configurations 2026-05-01 01:45:07 +02:00
frontend.e2e.Dockerfile fix: E2E pipeline — vite preview instead of nginx, ts build fixes 2026-05-19 18:53:52 +02:00
frontend.prod.Dockerfile feat: add Docker Compose setup with dev and prod configurations 2026-05-01 01:45:07 +02:00
nginx.conf feat: add Docker Compose setup with dev and prod configurations 2026-05-01 01:45:07 +02:00
playwright.e2e.Dockerfile feat: add isolated E2E browser test pipeline for Forgejo Actions 2026-05-19 18:07:12 +02:00