Add scheduled invoice delivery

This commit is contained in:
2026-08-17 13:54:45 -04:00
parent 29589c1f32
commit 67ab6b78bd
26 changed files with 2099 additions and 835 deletions
+8 -1
View File
@@ -68,7 +68,11 @@ services:
WORKER_SCHEDULE_MS: ${WORKER_SCHEDULE_MS:-60000}
RESEND_API_KEY: ${RESEND_API_KEY:-}
RESEND_DOMAIN: ${RESEND_DOMAIN:-}
CRON_SECRET: ${CRON_SECRET:-}
APP_INTERNAL_URL: http://app:${APP_PORT:-3000}
depends_on:
app:
condition: service_started
db:
condition: service_healthy
restart: unless-stopped
@@ -85,7 +89,10 @@ services:
- beenvoice_pg_data:/var/lib/postgresql/data
healthcheck:
test:
["CMD-SHELL", 'pg_isready -h 127.0.0.1 -p "$${POSTGRES_PORT}" -U "$${POSTGRES_USER}" -d "$${POSTGRES_DB}"']
[
"CMD-SHELL",
'pg_isready -h 127.0.0.1 -p "$${POSTGRES_PORT}" -U "$${POSTGRES_USER}" -d "$${POSTGRES_DB}"',
]
interval: 5s
timeout: 5s
retries: 10