Files
temporalio-docker-compose/docker-compose-mysql8.yml
Ruslan c66f5230bf Set Temporal CLI address env variable (#177)
* Set Temporal CLI address env variable

* update k8s images
2023-06-30 16:26:13 -04:00

62 lines
1.4 KiB
YAML

version: "3.5"
services:
mysql:
container_name: temporal-mysql
environment:
- MYSQL_ROOT_PASSWORD=root
image: mysql:${MYSQL_VERSION}
networks:
- temporal-network
ports:
- 3306:3306
volumes:
- /var/lib/mysql
temporal:
container_name: temporal
depends_on:
- mysql
environment:
- DB=mysql8
- DB_PORT=3306
- MYSQL_USER=root
- MYSQL_PWD=root
- MYSQL_SEEDS=mysql
- 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