version: "3.8" name: echoglobe services: backend: build: ./backend volumes: - ./backend:/app ports: - "8000:8001" environment: - DJANGO_SETTINGS_MODULE=myproject.settings - PYTHONUNBUFFERED=1 - WHISPER_URL=http://host.docker.internal:9000 # Point to the host machine's Whisper service depends_on: db: condition: service_healthy s3: condition: service_healthy db: image: postgres:17 volumes: - postgres_data:/var/lib/postgresql/data/ env_file: - .env healthcheck: test: ["CMD-SHELL", "pg_isready -U $POSTGRES_USER"] interval: 5s timeout: 3s retries: 2 s3: image: minio/minio:latest container_name: minio ports: - "9000:9000" # S3 API port - "9001:9001" # Management UI volumes: - minio_data:/data env_file: - .env command: server /data --console-address ":9001" healthcheck: test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"] interval: 5s timeout: 3s retries: 2 volumes: postgres_data: minio_data: