services: postgres: image: postgres:16 container_name: forte-postgres restart: unless-stopped environment: POSTGRES_USER: forte POSTGRES_PASSWORD: forte POSTGRES_DB: forte ports: - "5432:5432" volumes: - forte-pgdata:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U forte"] interval: 5s timeout: 3s retries: 5 valkey: image: valkey/valkey:8 container_name: forte-valkey restart: unless-stopped ports: - "6379:6379" volumes: - forte-valkey:/data healthcheck: test: ["CMD", "valkey-cli", "ping"] interval: 5s timeout: 3s retries: 5 volumes: forte-pgdata: forte-valkey: