diff --git a/docker-compose.yml b/docker-compose.yml index 491c092012..0686913a8e 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,6 +11,7 @@ x-flow-worker-env: &flow-worker-env TEMPORAL_HOST_PORT: temporal:7233 TEMPORAL_CLIENT_CERT: TEMPORAL_CLIENT_KEY: + PEERDB_TEMPORAL_NAMESPACE: default # For GCS, these will be your HMAC keys instead # For more information: # https://cloud.google.com/storage/docs/authentication/managing-hmackeys @@ -23,9 +24,6 @@ x-flow-worker-env: &flow-worker-env # enables exporting of mirror metrics to Prometheus for visualization using Grafana ENABLE_METRICS: "true" -x-peerdb-temporal-namespace: &peerdb-temporal-namespace - PEERDB_TEMPORAL_NAMESPACE: default - services: catalog: container_name: catalog @@ -102,8 +100,7 @@ services: - 8112:8112 - 8113:8113 environment: - <<: [*catalog-config, *peerdb-temporal-namespace] - TEMPORAL_HOST_PORT: temporal:7233 + <<: [*catalog-config, *flow-worker-env] depends_on: temporal-admin-tools: condition: service_healthy @@ -112,8 +109,7 @@ services: container_name: flow-snapshot-worker image: ghcr.io/peerdb-io/flow-snapshot-worker:latest-dev environment: - <<: [*peerdb-temporal-namespace] - TEMPORAL_HOST_PORT: temporal:7233 + <<: [*flow-worker-env] depends_on: temporal-admin-tools: condition: service_healthy @@ -122,7 +118,7 @@ services: container_name: flow-worker1 image: ghcr.io/peerdb-io/flow-worker:latest-dev environment: - <<: [*catalog-config, *flow-worker-env, *peerdb-temporal-namespace] + <<: [*catalog-config, *flow-worker-env] METRICS_SERVER: 0.0.0.0:6061 ports: - 6060:6060 @@ -135,7 +131,7 @@ services: container_name: flow-worker2 image: ghcr.io/peerdb-io/flow-worker:latest-dev environment: - <<: [*catalog-config, *flow-worker-env, *peerdb-temporal-namespace] + <<: [*catalog-config, *flow-worker-env] METRICS_SERVER: 0.0.0.0:6063 ports: - 6062:6062 @@ -151,7 +147,7 @@ services: container_name: flow-worker3 image: ghcr.io/peerdb-io/flow-worker:latest-dev environment: - <<: [*catalog-config, *flow-worker-env, *peerdb-temporal-namespace] + <<: [*catalog-config, *flow-worker-env] METRICS_SERVER: 0.0.0.0:6065 ports: - 6064:6064