-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
60 lines (56 loc) · 1.07 KB
/
docker-compose.yml
File metadata and controls
60 lines (56 loc) · 1.07 KB
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
56
57
58
59
60
version: "3.8"
services:
nginx:
build:
context: ./nginx
dockerfile: Dockerfile
ports:
- "443:443"
depends_on:
- web-app
container_name: nginx-proxy
dns:
- IP_DNS
- webcube.pfe.dns
networks:
web-app_network:
web-app:
build:
context: ./web-app
dockerfile: Dockerfile
args:
- HTTP_PROXY=http://192.168.4.8:3128
- HTTPS_PROXY=http://192.168.4.8:3128
ports:
- "3000:3000"
depends_on:
- api
container_name: web-app
dns:
- IP_DNS
- webcube.pfe.dns
networks:
web-app_network:
api:
build:
context: ./api
dockerfile: Dockerfile
args:
- MAVEN_OPTS=-DproxySet=true -DproxyHost=192.168.4.8 -DproxyPort=3128
ports:
- "4444:4444"
container_name: api
dns:
- IP_DNS
- webcube.pfe.dns
volumes:
- /code:/api/code
networks:
web-app_network:
networks:
web-app_network:
driver: bridge
ipam:
driver: default
config:
- subnet: "172.101.0.0/16"