-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
167 lines (157 loc) · 3.86 KB
/
docker-compose.dev.yml
File metadata and controls
167 lines (157 loc) · 3.86 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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
services:
worker:
build:
context: .
target: prod
env_file:
- .env
depends_on:
temporal:
condition: service_healthy
mongo:
condition: service_healthy
redis:
condition: service_healthy
minio:
condition: service_healthy
networks:
- temporal-network
environment:
- AWS_ENDPOINT_URL=http://minio:9000
- AWS_ACCESS_KEY_ID=minioadmin
- AWS_SECRET_ACCESS_KEY=minioadmin
- AWS_S3_BUCKET=hivemind-etl
- AWS_REGION=us-east-1
- AWS_SECURE=false
temporal:
image: temporalio/auto-setup:1.25.2.0
depends_on:
temporal-postgresql:
condition: service_healthy
qdrant-healthcheck:
condition: service_healthy
mongo:
condition: service_healthy
redis:
condition: service_healthy
environment:
- DB=postgres12
- DB_PORT=5432
- POSTGRES_USER=temporal
- POSTGRES_PWD=temporal
- POSTGRES_SEEDS=temporal-postgresql
networks:
- temporal-network
healthcheck:
test: ["CMD", "tctl", "--address", "temporal:7233", "workflow", "list"]
interval: 1s
timeout: 5s
retries: 30
ports:
- 7233:7233
temporal-ui:
image: temporalio/ui:2.31.2
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CORS_ORIGINS=http://localhost:8080
ports:
- 8080:8080
networks:
- temporal-network
temporal-postgresql:
image: postgres:12.21
environment:
POSTGRES_PASSWORD: temporal
POSTGRES_USER: temporal
healthcheck:
test: ["CMD-SHELL", "pg_isready -U temporal"]
interval: 10s
timeout: 5s
retries: 5
networks:
- temporal-network
mongo:
image: "mongo:6.0.8"
ports:
- 27018:27017
environment:
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=pass
healthcheck:
test: echo 'db.stats().ok' | mongosh localhost:27017/test --quiet
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
- temporal-network
qdrant:
image: qdrant/qdrant:v1.9.2
restart: always
container_name: qdrant
ports:
- 6333:6333
volumes:
- ./qdrant_data:/qdrant_data
networks:
- temporal-network
qdrant-healthcheck:
restart: always
image: curlimages/curl:8.11.0
entrypoint: ["/bin/sh", "-c", "--", "while true; do sleep 30; done;"]
depends_on:
- qdrant
healthcheck:
test: ["CMD", "curl", "-f", "http://qdrant:6333/readyz"]
interval: 10s
timeout: 2s
retries: 5
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
minio:
image: minio/minio:RELEASE.2025-04-22T22-12-26Z
ports:
- "9000:9000" # API
- "9001:9001" # Console
environment:
MINIO_ROOT_USER: ${AWS_ACCESS_KEY_ID:-minioadmin}
MINIO_ROOT_PASSWORD: ${AWS_SECRET_ACCESS_KEY:-minioadmin}
volumes:
- ./minio_data:/data
command: server /data --console-address ":9001"
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9000/minio/health/live"]
interval: 30s
timeout: 20s
retries: 3
networks:
- temporal-network
minio-healthcheck:
image: curlimages/curl:8.11.0
entrypoint: ["/bin/sh", "-c", "--", "while true; do sleep 30; done;"]
depends_on:
- minio
healthcheck:
test: ["CMD", "curl", "-f", "http://minio:9000/minio/health/live"]
interval: 10s
timeout: 2s
retries: 5
networks:
- temporal-network
networks:
temporal-network:
driver: bridge
name: temporal-network