Persistent logs, no health checks in them, and softer copy
CI / test (push) Successful in 1m38s
CI / build (push) Successful in 5m46s
CI / deploy (push) Skipped

Backend and the workers also write their log as JSON into the logs
volume, one file a day kept 30 days (LOG_DIR, LOG_NAME, LOG_KEEP_DAYS),
so errors can be looked up after a container is replaced. The Docker
health check (/healthz every 30 s) no longer goes into the request log
of the backend and the horoscope API.

The home, login and packages pages no longer compare the analyses to
an experienced astrologer's depth; they say what the user gets:
detailed, personal text in minutes, for a fraction of a personal
consultation's price.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
This commit is contained in:
feco
2026-11-20 17:34:24 +00:00
co-authored by Claude Opus 5.5
parent 09fc1e62c7
commit ffb6060cfa
17 changed files with 112 additions and 27 deletions
+14
View File
@@ -103,6 +103,9 @@ services:
FREE_PERSON_SLOTS: ${FREE_PERSON_SLOTS:-0}
# invite: new accounts need an invitation (admin page "Meghívók"); open: anyone.
SIGNUP_MODE: ${SIGNUP_MODE:-invite}
# The log also goes to the logs volume, one file a day, kept 30 days
# (deploy/README.md: Logs).
LOG_DIR: /logs
# STRIPE_SECRET_KEY and STRIPE_WEBHOOK_SECRET (docs/fizetes.md): with them
# packages can be bought (a test key: by admins only).
env_file:
@@ -114,6 +117,8 @@ services:
horoscope-api:
condition: service_healthy
read_only: true
volumes:
- logs:/logs
logging: *logging
restart: unless-stopped
@@ -128,6 +133,7 @@ services:
SES_REGION: ${SES_REGION:-eu-central-1}
MAIL_FROM: ${MAIL_FROM:-Sorsfonalak <hello@sorsfonalak.hu>}
PUBLIC_BASE_URL: https://${DOMAIN}
LOG_DIR: /logs
env_file:
- path: .env.secrets
required: false
@@ -135,6 +141,8 @@ services:
postgres:
condition: service_healthy
read_only: true
volumes:
- logs:/logs
logging: *logging
restart: unless-stopped
@@ -148,6 +156,8 @@ services:
QUICK_CONCURRENCY: ${QUICK_CONCURRENCY:-2}
ANALYSIS_CONCURRENCY: ${ANALYSIS_CONCURRENCY:-4}
PUBLIC_BASE_URL: https://${DOMAIN}
LOG_DIR: /logs
LOG_NAME: worker-ai
env_file:
- path: .env.secrets
required: false
@@ -155,6 +165,8 @@ services:
postgres:
condition: service_healthy
read_only: true
volumes:
- logs:/logs
logging: *logging
restart: unless-stopped
@@ -177,5 +189,7 @@ services:
volumes:
pgdata:
# Backend and worker logs (backend.YYYY-MM-DD.log, worker…, worker-ai…).
logs:
caddy-data:
caddy-config: