Made a mistake with which repository I copied the temporal spec over from
This commit is contained in:
+21
-3
@@ -168,6 +168,7 @@ services:
|
|||||||
temporal-postgresql:
|
temporal-postgresql:
|
||||||
container_name: temporal-postgresql
|
container_name: temporal-postgresql
|
||||||
image: postgres:16
|
image: postgres:16
|
||||||
|
restart: always
|
||||||
environment:
|
environment:
|
||||||
POSTGRES_PASSWORD: temporal
|
POSTGRES_PASSWORD: temporal
|
||||||
POSTGRES_USER: temporal
|
POSTGRES_USER: temporal
|
||||||
@@ -175,15 +176,26 @@ services:
|
|||||||
- temporal-network
|
- temporal-network
|
||||||
expose:
|
expose:
|
||||||
- 5432
|
- 5432
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD-SHELL", "pg_isready -U temporal"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 5
|
||||||
|
start_period: 10s
|
||||||
volumes:
|
volumes:
|
||||||
- /var/lib/postgresql/data
|
- temporal-postgres-data:/var/lib/postgresql/data
|
||||||
|
|
||||||
temporal:
|
temporal:
|
||||||
container_name: temporal
|
container_name: temporal
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- '7233:7233'
|
||||||
image: temporalio/auto-setup:1.28.1
|
image: temporalio/auto-setup:1.28.1
|
||||||
depends_on:
|
depends_on:
|
||||||
- temporal-postgresql
|
temporal-postgresql:
|
||||||
- temporal-elasticsearch
|
condition: service_healthy
|
||||||
|
temporal-elasticsearch:
|
||||||
|
condition: service_healthy
|
||||||
environment:
|
environment:
|
||||||
- DB=postgres12
|
- DB=postgres12
|
||||||
- DB_PORT=5432
|
- DB_PORT=5432
|
||||||
@@ -197,6 +209,12 @@ services:
|
|||||||
- TEMPORAL_NAMESPACE=default
|
- TEMPORAL_NAMESPACE=default
|
||||||
networks:
|
networks:
|
||||||
- temporal-network
|
- temporal-network
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "temporal", "operator", "cluster", "health", "--address", "temporal:7233"]
|
||||||
|
interval: 10s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 10
|
||||||
|
start_period: 30s
|
||||||
volumes:
|
volumes:
|
||||||
- ./dynamicconfig:/etc/temporal/config/dynamicconfig
|
- ./dynamicconfig:/etc/temporal/config/dynamicconfig
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
Reference in New Issue
Block a user