-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathdocker-compose.yml
55 lines (54 loc) · 1.12 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
version: '3.8'
services:
gateway:
build:
context: .
dockerfile: ./gateway/Dockerfile
env_file:
- ./gateway/.env
ports:
- 2727:2727
networks:
- gw
depends_on:
- security
- service1
- service2
- service3
security:
build:
context: .
dockerfile: ./security/Dockerfile
env_file:
- ./security/.env
networks:
- gw
service1:
build:
context: .
dockerfile: ./service1/Dockerfile
env_file:
- ./service1/.env
networks:
- gw
service2:
build:
context: .
dockerfile: ./service2/Dockerfile
env_file:
- ./service2/.env
networks:
- gw
- svc
service3:
build:
context: .
dockerfile: ./service3/Dockerfile
env_file:
- ./service3/.env
networks:
- gw
- svc
networks:
gw: {}
svc: {}