forked from temporalio/temporal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convenience docker-compose file that enables one to deploy both MySQL…
… and ElasticSearch in one box environment.
- Loading branch information
1 parent
f4bb2df
commit e5e7846
Showing
1 changed file
with
63 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
version: '3' | ||
services: | ||
mysql: | ||
image: mysql:5.7 | ||
ports: | ||
- "3306:3306" | ||
environment: | ||
- "MYSQL_ROOT_PASSWORD=root" | ||
zookeeper: | ||
image: wurstmeister/zookeeper:3.4.6 | ||
ports: | ||
- "2181:2181" | ||
kafka: | ||
image: wurstmeister/kafka:2.12-2.1.1 | ||
depends_on: | ||
- zookeeper | ||
ports: | ||
- "9092:9092" | ||
environment: | ||
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092 | ||
KAFKA_LISTENERS: PLAINTEXT://0.0.0.0:9092 | ||
KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181 | ||
temporal: | ||
image: temporalio/server:${SERVER_TAG:-0.27.0} | ||
ports: | ||
- "7233:7233" | ||
environment: | ||
- "AUTO_SETUP=true" | ||
- "DB=mysql" | ||
- "MYSQL_USER=root" | ||
- "MYSQL_PWD=root" | ||
- "MYSQL_SEEDS=mysql" | ||
- "DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_es.yaml" | ||
- "ENABLE_ES=true" | ||
- "ES_SEEDS=elasticsearch" | ||
- "KAFKA_SEEDS=kafka" | ||
depends_on: | ||
- mysql | ||
- elasticsearch | ||
- kafka | ||
elasticsearch: | ||
image: elasticsearch:6.8.8 | ||
ports: | ||
- "9200:9200" | ||
environment: | ||
- discovery.type=single-node | ||
- ES_JAVA_OPTS=-Xms100m -Xmx100m | ||
temporal-admin-tools: | ||
image: temporalio/admin-tools:${SERVER_TAG:-0.27.0} | ||
stdin_open: true | ||
tty: true | ||
environment: | ||
- "TEMPORAL_CLI_ADDRESS=temporal:7233" | ||
depends_on: | ||
- temporal | ||
temporal-web: | ||
image: temporalio/web:${WEB_TAG:-0.27.0} | ||
environment: | ||
- "TEMPORAL_GRPC_ENDPOINT=temporal:7233" | ||
ports: | ||
- "8088:8088" | ||
depends_on: | ||
- temporal |