Update docker-compose.yml for improved service configurations

- Adjusted the Postgres image version to 17 for compatibility.
- Cleaned up formatting in healthcheck commands for consistency.
- Removed unnecessary whitespace in service definitions.
This commit is contained in:
Yury Kossakovsky
2025-09-26 16:23:38 -06:00
parent d31dbc1d0e
commit 8ab97295ab

View File

@@ -260,7 +260,7 @@ services:
options:
max-size: "1m"
max-file: "1"
cloudflared:
image: cloudflare/cloudflared:latest
container_name: cloudflared
@@ -273,7 +273,7 @@ services:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
max-file: "1"
langfuse-worker:
image: langfuse/langfuse-worker:3
@@ -392,7 +392,7 @@ services:
postgres:
container_name: postgres
image: postgres:${POSTGRES_VERSION:-latest}
image: postgres:${POSTGRES_VERSION:-17}
restart: unless-stopped
healthcheck:
test: ["CMD-SHELL", "pg_isready -U postgres"]
@@ -776,7 +776,8 @@ services:
- paddle_cache:/root/.cache/paddle
- paddlex_data:/root/.paddlex
healthcheck:
test: ["CMD-SHELL", "wget -qO- http://localhost:8080 > /dev/null || exit 1"]
test:
["CMD-SHELL", "wget -qO- http://localhost:8080 > /dev/null || exit 1"]
interval: 30s
timeout: 10s
retries: 5