mirror of
https://github.com/temporalio/docker-compose.git
synced 2026-08-30 18:41:40 -07:00
63 lines
1.5 KiB
YAML
63 lines
1.5 KiB
YAML
version: "3.5"
|
|
services:
|
|
postgresql:
|
|
container_name: temporal-postgresql
|
|
environment:
|
|
POSTGRES_PASSWORD: temporal
|
|
POSTGRES_USER: temporal
|
|
image: postgres:${POSTGRESQL_VERSION}
|
|
networks:
|
|
- temporal-network
|
|
ports:
|
|
- 5432:5432
|
|
volumes:
|
|
- /var/lib/postgresql/data
|
|
temporal:
|
|
container_name: temporal
|
|
depends_on:
|
|
- postgresql
|
|
environment:
|
|
- DB=postgres12
|
|
- DB_PORT=5432
|
|
- POSTGRES_USER=temporal
|
|
- POSTGRES_PWD=temporal
|
|
- POSTGRES_SEEDS=postgresql
|
|
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development-sql.yaml
|
|
image: temporalio/auto-setup:${TEMPORAL_VERSION}
|
|
networks:
|
|
- temporal-network
|
|
ports:
|
|
- 7233:7233
|
|
volumes:
|
|
- ./dynamicconfig:/etc/temporal/config/dynamicconfig
|
|
labels:
|
|
kompose.volume.type: configMap
|
|
temporal-admin-tools:
|
|
container_name: temporal-admin-tools
|
|
depends_on:
|
|
- temporal
|
|
environment:
|
|
- TEMPORAL_ADDRESS=temporal:7233
|
|
- TEMPORAL_CLI_ADDRESS=temporal:7233
|
|
image: temporalio/admin-tools:${TEMPORAL_VERSION}
|
|
networks:
|
|
- temporal-network
|
|
stdin_open: true
|
|
tty: true
|
|
temporal-ui:
|
|
container_name: temporal-ui
|
|
depends_on:
|
|
- temporal
|
|
environment:
|
|
- TEMPORAL_ADDRESS=temporal:7233
|
|
- TEMPORAL_CORS_ORIGINS=http://localhost:3000
|
|
image: temporalio/ui:${TEMPORAL_UI_VERSION}
|
|
networks:
|
|
- temporal-network
|
|
ports:
|
|
- 8080:8080
|
|
networks:
|
|
temporal-network:
|
|
driver: bridge
|
|
name: temporal-network
|