hello,
I try to create a temporal by docker-compose.yml.
But I find my temporal docker container just can listen itself IP,and I can’t connet it, how can i change the bind_on_ip?
version: "3.8"
services:
temporal:
container_name: temporal
depends_on:
- mysql
environment:
- DB=mysql8
- DB_PORT=3306
- MYSQL_USER=root
- MYSQL_PWD=p@FRw21QV@#*_32#@%231GHJdd
- MYSQL_SEEDS=mysql
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development-sql.yaml
- TZ=Asia/Shanghai
#- BIND_ON_IP=0.0.0.0
image: temporalio/auto-setup:1.22.0
ports:
- 7233:7233
volumes:
- /opt/ninetech/config/temporal/dynamicconfig:/etc/temporal/config/dynamicconfig
networks:
- ninetech
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:1.22.0
networks:
- ninetech
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:2.17.1
networks:
- ninetech
ports:
- 8233:8080
networks:
ninetech:
external: true
this is my docker-compose.yaml
I know the config at /etc/config/docker.yaml,but it like create by temporal default and I don’t know how can I change this config.
And I try to use nginx proxy and it useful.