feat: add business brand assets and health checks

This commit is contained in:
2026-08-17 20:33:04 -04:00
parent 5c9fbe6dc2
commit 7be4bb2abe
36 changed files with 1215 additions and 249 deletions
+13 -1
View File
@@ -50,6 +50,18 @@ services:
S3_REGION: ${S3_REGION:-garage}
ports:
- "${WEB_PORT:-${PORT:-3000}}:3000"
healthcheck:
test:
[
"CMD",
"bun",
"-e",
'const port = process.env.PORT || "3000"; const response = await fetch("http://127.0.0.1:" + port + "/api/health"); if (!response.ok) process.exit(1)',
]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
depends_on:
db:
condition: service_healthy
@@ -76,7 +88,7 @@ services:
APP_INTERNAL_URL: http://app:${APP_PORT:-3000}
depends_on:
app:
condition: service_started
condition: service_healthy
db:
condition: service_healthy
restart: unless-stopped