Gitea Actions CI: tests, image build to registry.sagifer.com, SSH deploy
- .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
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# Copy to /opt/sorsfonalak/.env on the server and fill in.
|
||||
|
||||
# Public domain (Caddy gets the certificate for it and www.<domain>)
|
||||
DOMAIN=sorsfonalak.hu
|
||||
# Long random string: openssl rand -hex 24
|
||||
POSTGRES_PASSWORD=
|
||||
|
||||
# Google OAuth client ID(s), comma-separated
|
||||
GOOGLE_CLIENT_IDS=
|
||||
# These accounts become admins at their first login
|
||||
BOOTSTRAP_ADMIN_EMAILS=
|
||||
|
||||
# Outgoing mail, e.g. smtps://user:password@smtp.example.com:465
|
||||
SMTP_URL=
|
||||
MAIL_FROM=Sorsfonalak <noreply@sorsfonalak.hu>
|
||||
|
||||
# Image version; every deployment rewrites it
|
||||
TAG=latest
|
||||
Reference in New Issue
Block a user