throttle repeated pg-boss errors; docker log rotation

This commit is contained in:
ai-chess
2026-10-22 05:54:43 +03:00
parent e4b5b8ada5
commit 6ee91d1a57
2 changed files with 19 additions and 1 deletions
+6
View File
@@ -5,6 +5,9 @@ services:
image: postgres:17-alpine
container_name: chessai-db
restart: unless-stopped
logging:
driver: json-file
options: { max-size: "20m", max-file: "5" }
environment:
POSTGRES_USER: chess
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-chess}
@@ -28,6 +31,9 @@ services:
image: chessai:latest
container_name: chessai
restart: unless-stopped
logging:
driver: json-file
options: { max-size: "20m", max-file: "5" }
depends_on:
db:
condition: service_healthy