-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
52 lines (51 loc) · 965 Bytes
/
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
version: '3.7'
networks:
t2fp-network:
driver: overlay
services:
nginx:
image: nginx:latest
ports:
- target: 80
published: 80
protocol: tcp
volumes:
- type: bind
source: ./nginx/nginx.conf
target: /etc/nginx/nginx.conf
environment:
USERNAME: ${USERNAME}
PASSWORD: ${PASSWORD}
URL: ${URL}
networks:
- t2fp-network
deploy:
replicas: 2
frontend:
image: t2fp/frontend:final
ports:
- target: 4200
published: 4200
protocol: tcp
environment:
USERNAME: ${USERNAME}
PASSWORD: ${PASSWORD}
URL: ${URL}
networks:
- t2fp-network
deploy:
replicas: 2
backend:
image: t2fp/backend:new
ports:
- target: 9966
published: 9966
protocol: tcp
environment:
USERNAME: ${USERNAME}
PASSWORD: ${PASSWORD}
URL: ${URL}
networks:
- t2fp-network
deploy:
replicas: 2