-
Notifications
You must be signed in to change notification settings - Fork 123
/
docker-compose.yml
120 lines (119 loc) · 3.47 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# this is a simple docker compose that has been tested to work with gitpod,
# for running these samples in the browser with no need to run Temporal Server locally
# thanks to Johannes Schickling for figuring this out
# see https://github.com/temporalio/docker-compose for other reference docker-compose files
version: '3.5'
services:
## uncomment if you need search attributes feature
## dont forget to uncomment the ES related comments in the temporal service
# elasticsearch:
# container_name: temporal-elasticsearch
# environment:
# - cluster.routing.allocation.disk.threshold_enabled=true
# - cluster.routing.allocation.disk.watermark.low=512mb
# - cluster.routing.allocation.disk.watermark.high=256mb
# - cluster.routing.allocation.disk.watermark.flood_stage=128mb
# - discovery.type=single-node
# - ES_JAVA_OPTS=-Xms100m -Xmx100m
# image: elasticsearch:7.10.1
# # networks:
# # - temporal-network
# ports:
# - 9200:9200
postgresql:
container_name: temporal-postgresql
environment:
POSTGRES_PASSWORD: temporal
POSTGRES_USER: temporal
image: postgres:13
# networks:
# - temporal-network
ports:
- 5432:5432
temporal:
container_name: temporal
depends_on:
- postgresql
# - elasticsearch
environment:
- DB=postgresql
- DB_PORT=5432
- POSTGRES_USER=temporal
- POSTGRES_PWD=temporal
- POSTGRES_SEEDS=postgresql
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development_es.yaml
# - ENABLE_ES=true
# - ES_SEEDS=elasticsearch
# - ES_VERSION=v7
# https://github.com/temporalio/temporal/issues/2539
image: temporalio/auto-setup:1.13.4
# networks:
# - temporal-network
ports:
- 7233:7233
volumes:
- ./dynamicconfig:/etc/temporal/config/dynamicconfig
temporal-admin-tools:
container_name: temporal-admin-tools
depends_on:
- temporal
environment:
- TEMPORAL_CLI_ADDRESS=temporal:7233
- TEMPORAL_ADDRESS=temporal:7233
# https://github.com/temporalio/temporal/issues/2539
image: temporalio/admin-tools:1.13.4
# networks:
# - temporal-network
stdin_open: true
tty: true
# the old UI, on 8088
temporal-web:
container_name: temporal-web
depends_on:
- temporal
environment:
- TEMPORAL_GRPC_ENDPOINT=temporal:7233
- TEMPORAL_PERMIT_WRITE_API=true
image: temporalio/web:1.13.0
# networks:
# - temporal-network
ports:
- 8088:8088
# the experimental new UI version, on 8080
temporal-ui:
container_name: temporal-ui
depends_on:
- temporal
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CORS_ORIGINS=http://localhost:3000
image: temporalio/ui:2.16.2
# networks:
# - temporal-network
ports:
- 8080:8080
## uncomment only if you need these features, eg you are Johannes
## Collector
#otel-collector:
# image: otel/opentelemetry-collector:0.27.0
# command: ['--config=/conf/collector-config.yaml', '--log-level=DEBUG']
# volumes:
# - ./collector-config.yaml:/conf/collector-config.yaml
# ports:
# - '9464:9464'
# - '4317:4317'
# - '55681:55681'
# depends_on:
# - jaeger-all-in-one
#
## Jaeger
#jaeger-all-in-one:
# image: jaegertracing/all-in-one:1.22.0
# ports:
# - '16686:16686'
# - '14268:14268'
# - '14250'
# networks:
# temporal-network:
# driver: bridge
# name: temporal-network