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:
@@ -33,6 +33,8 @@ A `docker compose up` a `docker-compose.override.yml` fájlt is betölti. Ebben
|
||||
SMTP_URL=smtps://user:jelszo@smtp.example.com:465 docker compose -f docker-compose.yml up -d
|
||||
```
|
||||
|
||||
Az éles szerverre a CI telepít (Gitea Actions, Caddy és https): lásd [deploy/README.md](deploy/README.md).
|
||||
|
||||
A horoscope-api image önálló (`scratch` alapú, kb. 70 MB, nem root felhasználóval fut). Benne van a statikus bináris és az összes adat. A container induláskor ~2 mp alatt betölti az adatokat, és ~190 MB memóriát használ. Egy horoszkóp kiszámítása 2–3 ms.
|
||||
|
||||
Build-argumentumok (`docker compose build --build-arg …`):
|
||||
|
||||
Reference in New Issue
Block a user