-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
51 lines (51 loc) · 1.15 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
version: "3.7"
networks:
shared-network:
driver: bridge
services:
authentication-api:
build:
context: .
dockerfile: _build/dockers/authentication-api.dockerfile
networks:
- shared-network
ports:
- "8081:8080"
authentication-db:
build:
context: .
dockerfile: _build/dockers/authentication-db.dockerfile
image: authentication-db
pid: "host"
hostname: "host"
ipc: host
networks:
- shared-network
env_file:
- _build/env/db/authentication-db.env
ports:
- "5432:5432"
usermanagement-api:
build:
context: .
dockerfile: _build/dockers/usermanagement-api.dockerfile
networks:
- shared-network
depends_on:
- authentication-db
ports:
- "8082:8080"
usermanagement-db:
build:
context: .
dockerfile: _build/dockers/usermanagement-db.dockerfile
image: usermanagement-db
pid: "host"
hostname: "host"
ipc: host
networks:
- shared-network
env_file:
- _build/env/db/user-management-db.env
ports:
- "5433:5432"