-
Notifications
You must be signed in to change notification settings - Fork 444
/
docker-compose.yaml
64 lines (60 loc) · 1.6 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
59
60
61
62
63
64
version: '3.9'
services:
nango-db:
image: postgres
container_name: nango-db
environment:
POSTGRES_PASSWORD: nango
POSTGRES_USER: nango
POSTGRES_DB: nango
ports:
- '${NANGO_DB_PORT:-5432}:5432'
volumes:
- ./nango-data:/var/lib/postgresql/data
networks:
- nango
nango-server:
image: nangohq/nango-server
container_name: nango-server
environment:
- TEMPORAL_ADDRESS=temporal:7233
- NANGO_DB_MIGRATION_FOLDER=/usr/nango-server/src/packages/shared/lib/db/migrations
volumes:
- './packages/shared/providers.yaml:/usr/nango-server/src/packages/shared/providers.yaml'
restart: always
ports:
- '3003:3003'
depends_on:
- nango-db
networks:
- nango
nango-worker:
image: nangohq/nango-worker
container_name: nango-worker
restart: always
ports:
- '3004:3004'
environment:
- TEMPORAL_ADDRESS=temporal:7233
depends_on:
- nango-db
- temporal
networks:
- nango
temporal:
image: temporalio/auto-setup
container_name: temporal
depends_on:
- nango-db
environment:
- DB=postgresql
- DB_PORT=5432
- POSTGRES_USER=nango
- POSTGRES_PWD=nango
- POSTGRES_SEEDS=nango-db
ports:
- 7233:7233
networks:
- nango
networks:
nango: