fix(infra): add healthcheck start_period, restore shared-llm dep in project-doc-bot

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-03-24 11:48:13 +01:00
parent 986f168d32
commit e060884881
2 changed files with 36 additions and 35 deletions

View file

@ -34,6 +34,7 @@ services:
interval: 30s
timeout: 5s
retries: 5
start_period: 30s
command: >
postgres
-c shared_buffers=512MB
@ -100,6 +101,7 @@ services:
interval: 30s
timeout: 5s
retries: 5
start_period: 20s
minio:
image: minio/minio:latest
@ -117,9 +119,10 @@ services:
- "9001:9001"
healthcheck:
test: ["CMD", "mc", "ready", "local"]
interval: 120s
interval: 30s
timeout: 20s
retries: 3
start_period: 30s
# MinIO bucket initialization and lifecycle rules (runs once)
minio-init:
@ -1387,10 +1390,10 @@ services:
- "5000:5000"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5000/health"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 40s
start_period: 30s
chat-web:
image: ghcr.io/memo-2023/chat-web:latest
@ -1410,10 +1413,10 @@ services:
- "5010:5010"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5010/health"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 40s
start_period: 30s
todo-web:
build:
@ -1436,10 +1439,10 @@ services:
- "5011:5011"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5011/health"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 40s
start_period: 30s
zitare-web:
build:
@ -1462,10 +1465,10 @@ services:
- "5018:5018"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5018/health"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 40s
start_period: 30s
calendar-web:
build:
@ -1490,10 +1493,10 @@ services:
- "5012:5012"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5012/health"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 40s
start_period: 30s
clock-web:
image: ghcr.io/memo-2023/clock-web:latest
@ -1513,10 +1516,10 @@ services:
- "5013:5013"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5013/health"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 40s
start_period: 30s
contacts-web:
build:
@ -1543,10 +1546,10 @@ services:
- "5014:5014"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5014/health"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 40s
start_period: 30s
storage-web:
build:
@ -1572,10 +1575,10 @@ services:
- "5015:5015"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5015/health"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 40s
start_period: 30s
presi-web:
image: ghcr.io/memo-2023/presi-web:latest
@ -1595,10 +1598,10 @@ services:
- "5016:5016"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5016/health"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 40s
start_period: 30s
nutriphi-web:
image: ghcr.io/memo-2023/nutriphi-web:latest
@ -1618,10 +1621,10 @@ services:
- "5017:5017"
healthcheck:
test: ["CMD", "node", "-e", "const http = require('http'); http.get('http://127.0.0.1:5017/health', (r) => process.exit(r.statusCode === 200 ? 0 : 1)).on('error', () => process.exit(1))"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 40s
start_period: 30s
skilltree-web:
build:
@ -1647,10 +1650,10 @@ services:
- "5020:5020"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5020/health"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 40s
start_period: 30s
photos-web:
build:
@ -1679,10 +1682,10 @@ services:
- "5019:5019"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5019/health"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 40s
start_period: 30s
mukke-web:
build:
@ -1708,10 +1711,10 @@ services:
- "5180:5180"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5180/health"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 40s
start_period: 30s
citycorners-web:
build:
@ -1737,10 +1740,10 @@ services:
- "5022:5022"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5022/health"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 40s
start_period: 30s
picture-backend:
build:
@ -1806,10 +1809,10 @@ services:
- "5021:5021"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5021/health"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 40s
start_period: 30s
mana-llm:
build:
@ -1868,10 +1871,10 @@ services:
- "5090:5090"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:5090/health"]
interval: 120s
interval: 180s
timeout: 10s
retries: 3
start_period: 10s
start_period: 20s
labels:
- "com.centurylinklabs.watchtower.enable=true"

View file

@ -31,14 +31,12 @@
"@aws-sdk/s3-request-presigner": "^3.721.0",
"@manacore/bot-services": "workspace:*",
"@manacore/matrix-bot-common": "workspace:*",
"@manacore/shared-llm": "workspace:^",
"@nestjs/common": "^10.4.15",
"@nestjs/config": "^3.3.0",
"@nestjs/core": "^10.4.15",
"@nestjs/platform-express": "^10.4.15",
"drizzle-orm": "^0.38.3",
"matrix-bot-sdk": "^0.7.1",
"openai": "^4.77.0",
"postgres": "^3.4.5",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1"