-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathdocker-compose.dev.yml
82 lines (78 loc) · 2.17 KB
/
docker-compose.dev.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
services:
postgresql:
container_name: postgresql
environment:
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-your-super-secret-and-long-postgres-password}
POSTGRES_USER: ${POSTGRES_USER:-postgres}
image: postgres:${POSTGRES_VERSION:-16.4-bookworm}
healthcheck:
test: ["CMD-SHELL", "pg_isready", "-d", "temporal"]
interval: 30s
timeout: 60s
retries: 5
start_period: 80s
networks:
- admyral-network
ports:
- 5432:5432
expose:
- 5432
volumes:
- ${POSTGRES_VOLUME_PATH:-.admyral/postgres}:/var/lib/postgresql/data
temporal:
container_name: temporal
environment:
- DB=postgres12
- DB_PORT=5432
- POSTGRES_USER=${POSTGRES_USER:-postgres}
- POSTGRES_PWD=${POSTGRES_PASSWORD:-your-super-secret-and-long-postgres-password}
- POSTGRES_SEEDS=postgresql
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development-sql.yml
- ENABLE_ES=false
image: temporalio/auto-setup:${TEMPORAL_VERSION:-latest}
healthcheck:
test: ["CMD", "tctl", "--address", "temporal:7233", "workflow", "list"]
interval: 1s
timeout: 5s
retries: 30
depends_on:
postgresql:
condition: service_healthy
networks:
- admyral-network
ports:
- 7233:7233
expose:
- 7233
volumes:
- ./temporal/dynamicconfig:/etc/temporal/config/dynamicconfig
temporal-admin-tools:
container_name: temporal-admin-tools
depends_on:
temporal:
condition: service_healthy
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CLI_ADDRESS=temporal:7233
image: temporalio/admin-tools:${TEMPORAL_ADMINTOOLS_VERSION:-latest}
networks:
- admyral-network
stdin_open: true
tty: true
temporal-ui:
container_name: temporal-ui
depends_on:
temporal:
condition: service_healthy
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CORS_ORIGINS=http://localhost:3000
image: temporalio/ui:${TEMPORAL_UI_VERSION:-latest}
networks:
- admyral-network
ports:
- 8080:8080
networks:
admyral-network:
driver: bridge
name: admyral-network