- .gitea/workflows/ci.yml: test (Postgres service), build and push the four images tagged with the commit hash, deploy over SSH when DEPLOY_HOST is set - ci/runner: act_runner 0.6.1 on the dev server using the host's Docker - deploy/: production compose with Caddy (https), daily pg_dump backups, log rotation; setup guide Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
10 lines
194 B
Caddyfile
10 lines
194 B
Caddyfile
# HTTPS certificate from Let's Encrypt for $DOMAIN (DNS must point here).
|
|
{$DOMAIN} {
|
|
encode zstd gzip
|
|
reverse_proxy frontend:3000
|
|
}
|
|
|
|
www.{$DOMAIN} {
|
|
redir https://{$DOMAIN}{uri} permanent
|
|
}
|