throttle repeated pg-boss errors; docker log rotation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user