Enhance basic-instalations.sh for Docker installation on Linux, adding WSL support and improving dependency installation steps. Clean up docker-compose.yaml by removing unused healthcheck configurations for Redis service.

This commit is contained in:
2025-08-04 17:36:44 +00:00
parent 448f71f258
commit 9b813d69c1
2 changed files with 44 additions and 25 deletions

View File

@@ -239,8 +239,6 @@ services:
depends_on:
postgres:
condition: service_healthy
phoenix-redis:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "curl -s http://phoenix-system:3000/health | grep -q '\"admin-api\":{\"status\":\"up\"}' && curl -s http://phoenix-system:3000/health | grep -q '\"database\":{\"status\":\"up\"}'"] # Checks both admin-api and database status
interval: 10s # Time between each health check
@@ -338,14 +336,6 @@ services:
# reservations: # Guaranteed minimum resources for the container
# cpus: "0.05" # Reserved CPU cores (5% of one core)
# memory: 32M # Reserved memory (32 megabytes)
healthcheck:
test: [
"CMD-SHELL",
"redis-cli --no-auth-warning -a ${REDIS_PASSWORD} ping | grep PONG && test -w /bitnami/redis/data"
]
interval: 5s
retries: 10
timeout: 5s
depends_on:
postgres:
condition: service_healthy