services: postgres: image: postgis/postgis:17-3.5 container_name: acente360-db environment: POSTGRES_USER: acente360 POSTGRES_PASSWORD: acente360 POSTGRES_DB: acente360 ports: - '5433:5432' volumes: - postgres_data:/var/lib/postgresql/data healthcheck: test: ['CMD-SHELL', 'pg_isready -U acente360 -d acente360'] interval: 10s timeout: 5s retries: 5 redis: image: redis:7-alpine container_name: acente360-redis ports: - '6379:6379' volumes: - redis_data:/data healthcheck: test: ['CMD', 'redis-cli', 'ping'] interval: 10s timeout: 5s retries: 5 volumes: postgres_data: redis_data: