-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
58 lines (55 loc) · 1.48 KB
/
docker-compose.yaml
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
services:
postgres:
container_name: postgres
image: pgvector/pgvector:0.8.0-pg14
ports:
- "5432:5432"
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- ./docker/postgres/:/docker-entrypoint-initdb.d/
- ./docker/volumes/postgres:/var/lib/postgresql/data
healthcheck:
test: [ "CMD", "pg_isready", "-U", "postgres" ]
interval: 10s
retries: 3
start_period: 5s
restart: unless-stopped
temporal:
container_name: temporal
image: temporalio/auto-setup:1.27.0
ports:
- "7233:7233"
environment:
- DB=postgres12
- DB_PORT=5432
- POSTGRES_USER=temporal
- POSTGRES_PWD=temporal
- POSTGRES_SEEDS=postgres # server host name
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development-sql.yaml
volumes:
- ./docker/temporal:/etc/temporal/config/dynamicconfig
depends_on:
- postgres
temporal-admin-tools:
container_name: temporal-admin-tools
image: temporalio/admin-tools:1.27.0
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CLI_ADDRESS=temporal:7233
stdin_open: true
tty: true
depends_on:
- temporal
temporal-ui:
container_name: temporal-ui
image: temporalio/ui:2.35.1
ports:
- "8080:8080"
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CORS_ORIGINS=http://localhost:3000
depends_on:
- temporal