version: '3.8' services: # Firestore Emulator firestore: image: gcr.io/google.com/cloudsdktool/google-cloud-cli:emulators command: gcloud emulators firestore start --host-port=0.0.0.0:8081 ports: - "8081:8081" # GCS Emulator (fake-gcs-server) gcs: image: fsouza/fake-gcs-server command: -scheme http -port 4443 ports: - "4443:4443" volumes: - gcs-data:/data # Control Plane API control-plane: build: context: ./backend/control-plane dockerfile: Dockerfile ports: - "8080:8080" environment: - PORT=8080 - GCP_PROJECT_ID=productos-local - GCS_BUCKET_ARTIFACTS=productos-artifacts-local - FIRESTORE_COLLECTION_RUNS=runs - FIRESTORE_COLLECTION_TOOLS=tools - AUTH_MODE=dev - FIRESTORE_EMULATOR_HOST=firestore:8081 - STORAGE_EMULATOR_HOST=http://gcs:4443 depends_on: - firestore - gcs volumes: gcs-data: