-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
93 lines (92 loc) · 2.31 KB
/
Copy pathdocker-compose.yml
File metadata and controls
93 lines (92 loc) · 2.31 KB
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
---
version: '3.7'
# Networking will be done by the test container docker compose library.
# In case if you want to run your test against docker container uncomment the network lines.
services:
cockroach:
hostname: cockroach
image: cockroachdb/cockroach:v23.1.13
command:
- start-single-node
- --host=:26257
- --listen-addr=:26257
- --http-addr=:8082
- --certs-dir=/tmp/certs
environment:
- COCKROACH_DATABASE=cockroachdb
- COCKROACH_USER=croachadmin
- COCKROACH_PASSWORD=password1
volumes:
- cockroach-data:/var/lib/roach1
healthcheck:
test: [ "CMD", "curl", "-k", "https://localhost:8082/health" ]
interval: 30s
timeout: 5s
retries: 3
networks:
- temporal-network
ports:
- "26257:26257"
- "8082:8082"
temporal:
depends_on:
cockroach:
condition: service_healthy
environment:
- DB=postgresql
- SQL_TLS=true
- SQL_TLS_DISABLE_HOST_VERIFICATION=true
- SQL_TLS_ENABLED=true
- DB_PORT=26257
- POSTGRES_USER=croachadmin
- POSTGRES_PWD=password1
- POSTGRES_SEEDS=postgres
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development-sql.yaml
image: temporalio/auto-setup:1.22.4.0
links:
- cockroach:postgres
volumes:
- ./config/dynamicconfig:/etc/temporal/config/dynamicconfig
healthcheck:
test: [ "CMD", "nc", "-zv", "temporal", "7233" ]
interval: 10s
timeout: 5s
retries: 3
labels:
compose.volume.type: configMap
networks:
- temporal-network
ports:
- "7233:7233"
stdin_open: true
tty: true
temporal-ui:
depends_on:
temporal:
condition: service_healthy
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CORS_ORIGINS=http://localhost:3000
image: temporalio/ui:2.23.0
networks:
- temporal-network
ports:
- "8088:8080"
minio:
image: minio/minio
ports:
- "9990:9000"
- "9991:9001"
volumes:
- minio_storage:/data
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
command: server --console-address ":9001" /data
networks:
temporal-network:
driver: bridge
name: temporal-network
volumes:
cockroach-data: { }
minio_storage: { }