-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
50 lines (49 loc) · 1.04 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
version: '3.6'
services:
nginx:
image: nginx:latest
ports:
- target: 80
published: 80
protocol: tcp
volumes:
- type: bind
source: ./nginx/nginx.conf
target: /etc/nginx/nginx.conf
depends_on:
- Service1
- crystals
- cards
- readings
Service1:
image: service1
build:
context: ./Service1
dockerfile: Dockerfile
ports:
- target: 5000
published: 5000
crystals:
image: crystals
build:
context: ./crystals
dockerfile: Dockerfile
#ports:
#- target: 5001
# published: 5001
cards:
image: cards
build:
context: ./cards
dockerfile: Dockerfile
#ports:
#- target: 5002
# published: 5002
readings:
image: readings
build:
context: ./readings
dockerfile: Dockerfile
#ports:
#- target: 5003
# published: 5003