name: "transcribe-mate" services: backend: build: context: ./backend dockerfile: Dockerfile ports: - "8000:80" environment: - GEMINI_API_KEY=${GEMINI_API_KEY} volumes: - ./backend:/app - /app/.venv restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:80/health"] interval: 30s timeout: 10s retries: 3 start_period: 40s frontend: build: context: ./frontend dockerfile: Dockerfile ports: - "3000:3000" environment: - NEXT_PUBLIC_API_URL=http://localhost:8000 depends_on: - backend restart: unless-stopped healthcheck: test: ["CMD", "curl", "-f", "http://localhost:3000"] interval: 30s timeout: 10s retries: 3 start_period: 40s networks: default: name: transcribe-mate-network