name: orbitward services: postgres: image: postgres:16-alpine environment: POSTGRES_USER: orbitward POSTGRES_PASSWORD: orbitward POSTGRES_DB: orbitward volumes: - postgres-data:/var/lib/postgresql/data healthcheck: test: ["CMD-SHELL", "pg_isready -U orbitward -d orbitward"] interval: 10s timeout: 5s retries: 5 redis: image: redis:7-alpine healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 10s timeout: 5s retries: 5 backend: build: context: ./backend env_file: - .env depends_on: postgres: condition: service_healthy redis: condition: service_healthy ports: - "8000:8000" worker: build: context: ./worker env_file: - .env depends_on: postgres: condition: service_healthy redis: condition: service_healthy frontend: build: context: ./frontend environment: VITE_API_BASE_URL: http://localhost:8000 depends_on: - backend ports: - "5173:5173" volumes: postgres-data: