-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
72 lines (71 loc) · 1.45 KB
/
docker-compose.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
version: "3.9"
services:
postgres:
image: postgres:14.1-alpine
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: postgres
api:
image: nillga/api-gateway
restart: always
ports:
- "1323:1323"
environment:
USERS_HOST: "http://jwt:8000"
MEHMS_HOST: "http://mehms:8080"
PORT: "8080"
SWAG: ":1323"
JWT_SECRET_KEY: "asdf1234"
depends_on:
- jwt
gateway:
image: nillga/frontend-gateway
restart: always
environment:
USERS_HOST: "http://jwt:8000"
MEHMS_HOST: "http://mehms:8080"
PORT: ":8080"
SWAG: ":1323"
JWT_SECRET_KEY: "asdf1234"
depends_on:
- jwt
jwt:
image: nillga/users
restart: always
environment:
PG_HOST: "postgres"
PG_PORT: "5432"
PG_USER: "postgres"
PG_PASS: "password"
PG_DBNAME: "postgres"
PORT: "8000"
JWT_SECRET_KEY: "asdf1234"
depends_on:
- mehms
mehms:
image: nillga/mehms
restart: always
environment:
PG_HOST: "postgres"
PG_PORT: "5432"
PG_USER: "postgres"
PG_PASS: "password"
PG_DBNAME: "postgres"
depends_on:
- postgres
frontend:
image: nillga/frontend
restart: always
ports:
- "42069:80"
depends_on:
- gate-prox
gate-prox:
image: nillga/gateway
restart: always
ports:
- "420:80"
depends_on:
- gateway