-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
111 lines (102 loc) · 1.64 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
version: "3"
services:
postgres:
image: postgres
env_file:
- .env
expose:
- 5432
ports:
- "5432:5432"
networks:
- portal
- gateway
volumes:
- porters-postgres:/var/lib/postgresql/data
schema:
build:
context: ./services/postgres
image: porters-schema:latest
env_file:
- .env
networks:
- portal
command: tail -f /dev/null
frontend:
env_file:
- .env
build:
context: ./web-portal/frontend
args:
API_ENDPOINT: ${API_ENDPOINT}
depends_on:
- backend
expose:
- 3000
ports:
- "3000:3000"
networks:
- portal
backend:
build:
context: ./web-portal/backend
depends_on:
- postgres
expose:
- 4000
ports:
- "4000:4000"
networks:
- portal
gateway:
build:
context: ./gateway
depends_on:
- redis
- postgres
expose:
- 9000
ports:
- "9000:9000"
networks:
- gateway
env_file:
- .env
redis:
image: redis:alpine
env_file:
- .env
ports:
- "6379:6379"
networks:
- gateway
volumes:
- porters-redis:/data
kit:
image: ghcr.io/pokt-network/pocket-gateway-server:0.3.0
volumes:
- ./.env:/app/.env
ports:
- "8080:8080"
env_file:
- ./.kit.env
networks:
- gateway
docs:
build:
context: ./docs
expose:
- 3005
ports:
- "3005:3005"
networks:
- docs
volumes:
porters-postgres:
porters-redis:
networks:
portal:
driver: bridge
gateway:
docs:
driver: bridge