This repository was archived by the owner on May 3, 2025. It is now read-only.
forked from temporalio/samples-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
86 lines (79 loc) · 2 KB
/
docker-compose.yml
File metadata and controls
86 lines (79 loc) · 2 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
version: '3.5'
services:
postgresql:
container_name: temporal-postgresql
image: postgres:13
environment:
POSTGRES_PASSWORD: temporal
POSTGRES_USER: temporal
ports:
- 5432:5432
temporal:
container_name: temporal
image: temporalio/auto-setup:1.16.2
depends_on:
- postgresql
environment:
- DB=postgresql
- DB_PORT=5432
- POSTGRES_USER=temporal
- POSTGRES_PWD=temporal
- POSTGRES_SEEDS=postgresql
- DYNAMIC_CONFIG_FILE_PATH=config/dynamicconfig/development.yaml
ports:
- 7233:7233
temporal-admin-tools:
container_name: temporal-admin-tools
image: temporalio/admin-tools:1.16.2
depends_on:
- temporal
environment:
- TEMPORAL_CLI_ADDRESS=temporal:7233
stdin_open: true
tty: true
temporal-web:
container_name: temporal-web
image: temporalio/web:1.13.0
depends_on:
- temporal
environment:
- TEMPORAL_GRPC_ENDPOINT=temporal:7233
- TEMPORAL_PERMIT_WRITE_API=true
ports:
- 8088:8088
app1:
build:
context: .
args:
APP_PATH: app1/
volumes:
- ./app1:/var/app
depends_on:
- temporal
environment:
- "TEMPORAL_CLI_ADDRESS=temporal:7233"
command: [ "/usr/local/bin/wait-for-temporal.sh", "temporal", "/usr/local/bin/rr", "serve", "-c", "/var/app/.rr.yaml" ]
app2:
build:
context: .
args:
APP_PATH: app2/
volumes:
- ./app2:/var/app
depends_on:
- temporal
environment:
- "TEMPORAL_CLI_ADDRESS=temporal:7233"
command: [ "/usr/local/bin/wait-for-temporal.sh", "temporal", "/usr/local/bin/rr", "serve", "-c", "/var/app/.rr.yaml" ]
app:
build:
context: .
args:
APP_PATH: app/
volumes:
- ./app:/var/app
depends_on:
- temporal
environment:
- "TEMPORAL_CLI_ADDRESS=temporal:7233"
command: [ "/usr/local/bin/wait-for-temporal.sh", "temporal", "/usr/local/bin/rr", "serve", "-c", "/var/app/.rr.yaml" ]