-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yaml
56 lines (52 loc) · 1.02 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
54
55
56
version: "3.9"
services:
#Brocker
Broker:
image: cpabe-dev-image:0.0
build: ./dockerfiles/Base/
tty: true
volumes:
- ./codes/Broker/:/code
working_dir: /code
ports:
- "1883:1883"
# - "443:443"
command: "./RUN.sh "
# environment:
networks:
devnetwork:
#Proxy
Proxy:
image: cpabe-dev-image:0.0
build: ./dockerfiles/Base/
tty: true
volumes:
- ./codes/Proxy/:/code
working_dir: /code
# ports:
# - "8080:8080"
command: "./RUN.sh "
# environment:
networks:
devnetwork:
#SSL Proxy
ssl-reverse-proxy:
image: nginx:1.22
working_dir: /etc/nginx/conf.d/
tty: true
ports:
- "443:443"
- "8080:8080"
volumes:
- ./codes/ssl-reverse-proxy/config:/etc/nginx/conf.d/
- ./codes/ssl-reverse-proxy/ssl:/etc/ssl/custom
#網路IP設置
networks:
- devnetwork
networks:
devnetwork:
driver: bridge
ipam:
config:
- subnet: 10.1.0.0/24
gateway: 10.1.0.254