-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yaml
53 lines (53 loc) · 1.23 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
version: '3.2'
services:
flaskservice:
restart: 'always'
build:
context: ./app
dockerfile: Dockerfile.flask
environment:
- PORT=8001
- NAME='primary service'
expose:
- 8001
dosservice:
restart: 'always'
build:
context: ./app
dockerfile: Dockerfile.flask
environment:
- PORT=8003
- NAME='dos service'
expose:
- 8003
tresservice:
restart: 'always'
build:
context: ./app
dockerfile: Dockerfile.flask
environment:
- PORT=8004
- NAME='tres service'
expose:
- 8004
backupservice:
restart: 'always'
build:
context: ./app
dockerfile: Dockerfile.flask
environment:
- PORT=8002
- NAME='backup service'
expose:
- 8002
nginx:
restart: 'always'
build:
context: ./nginx
dockerfile: Dockerfile.nginx
ports:
- 80:80
depends_on:
- flaskservice
- dosservice
- backupservice