-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
153 lines (141 loc) · 3.41 KB
/
docker-compose.yml
File metadata and controls
153 lines (141 loc) · 3.41 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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
services:
# worker:
# build:
# context: .
# target: production
# env_file:
# - .env
# depends_on:
# - temporal
# - minio
# - neo4j
# - redis
# networks:
# - temporal-network
temporal:
image: temporalio/auto-setup:latest
depends_on:
- temporal-postgresql
- temporal-elasticsearch
environment:
- DB=postgres12
- DB_PORT=5432
- POSTGRES_USER=temporal
- POSTGRES_PWD=temporal
- POSTGRES_SEEDS=temporal-postgresql
- ENABLE_ES=true
- ES_SEEDS=temporal-elasticsearch
- ES_VERSION=v7
networks:
- temporal-network
ports:
- 7233:7233
temporal-ui:
image: temporalio/ui:latest
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CORS_ORIGINS=http://localhost:8080
ports:
- 8080:8080
networks:
- temporal-network
temporal-elasticsearch:
image: elasticsearch:8.16.0
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=-Xms256m -Xmx256m
- xpack.security.enabled=false
networks:
- temporal-network
volumes:
- elastic_data:/var/lib/elasticsearch/data
temporal-postgresql:
image: postgres:latest
environment:
POSTGRES_PASSWORD: temporal
POSTGRES_USER: temporal
networks:
- temporal-network
volumes:
- postgres_data:/var/lib/postgresql/data
minio:
image: bitnami/minio:latest
ports:
- 9000:9000
- 9001:9001
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
healthcheck:
test: [ "CMD", "mc", "ready", "local" ]
interval: 5s
timeout: 5s
retries: 5
volumes:
- minio_data:/data
networks:
- temporal-network
neo4j:
image: neo4j:5.9.0
restart: unless-stopped
environment:
- NEO4J_server.memory.heap.initial_size=1G
- NEO4J_server.memory.heap.max_size=2G
- NEO4J_PLUGINS=["apoc", "graph-data-science"]
- NEO4J_dbms_security_procedures_unrestricted=apoc.*,gds.*
- NEO4J_AUTH=neo4j/password
volumes:
- neo4j_data:/data
healthcheck:
test: [ "CMD", "wget", "http://localhost:7474" ]
interval: 10s
timeout: 10s
retries: 5
start_period: 10s
ports:
- 7687:7687
networks:
- temporal-network
redis:
image: redis:7.0.11
restart: unless-stopped
healthcheck:
test: [ "CMD", "redis-cli", "--raw", "incr", "ping" ]
interval: 10s
timeout: 10s
retries: 2
start_period: 10s
ports:
- 6379:6379
networks:
- temporal-network
mongo:
image: "mongo:5.0.10"
environment:
- MONGO_INITDB_DATABASE=Core
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=pass
healthcheck:
test: echo 'db.stats().ok' | mongosh localhost:27017/test --quiet
interval: 60s
timeout: 10s
retries: 2
start_period: 40s
ports:
- 27017:27017
volumes:
- mongo_data:/data/db
volumes:
minio_data:
postgres_data:
elastic_data:
neo4j_data:
mongo_data:
networks:
temporal-network:
driver: bridge
name: temporal-network