forked from coinbase/chainstorage
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-local.yml
67 lines (65 loc) · 1.65 KB
/
docker-compose-local.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
version: "3"
volumes:
localstack_data: {}
postgres_data: {}
services:
localstack:
image: localstack/localstack:3.1.0
ports:
- 4566:4566
- 4510-4559:4510-4559 # external services port range
environment:
- DEBUG=1
- DOCKER_HOST=unix:///var/run/docker.sock
- AWS_DEFAULT_REGION=us-east-1
- AWS_ACCESS_KEY_ID=requirednotused
- AWS_SECRET_ACCESS_KEY=requirednotused
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./bin/localstack:/docker-entrypoint-initaws.d
- ./bin/localstack/policies:/policies
- localstack_data:/var/lib/localstack
postgresql:
image: postgres:15.6-alpine
ports:
- ${CHAINSTORAGE_TEMPORAL_POSTGRES_PORT:-5432}:5432
environment:
- POSTGRES_USER=temporal
- POSTGRES_PASSWORD=temporal
volumes:
- postgres_data:/var/lib/postgresql/data
temporal:
image: temporalio/auto-setup:1.22.4
depends_on:
- postgresql
ports:
- 7233:7233
labels:
service_group: temporal
environment:
- DB=postgresql
- DB_PORT=5432
- POSTGRES_USER=temporal
- POSTGRES_PWD=temporal
- POSTGRES_SEEDS=postgresql
- USE_HOSTNAME_IP=true
restart: always
temporal-ui:
image: temporalio/ui:2.23.0
ports:
- 8088:8080
labels:
service_group: temporal-web
environment:
- TEMPORAL_ADDRESS=temporal:7233
depends_on:
- temporal
temporal-admin-tools:
depends_on:
- temporal
environment:
- TEMPORAL_ADDRESS=temporal:7233
- TEMPORAL_CLI_ADDRESS=temporal:7233
image: temporalio/admin-tools:1.22.0
stdin_open: true
tty: true