-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yaml
53 lines (46 loc) · 1.14 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
# docker-compose.yml
version: '3.8'
services:
nginx:
build:
context: nginx
dockerfile: dockerfile
image: liboost/nginx:latest
ports:
- "80:80"
- "443:443"
- "8000:8000"
- "1935:1935"
- "3000:3000"
volumes:
- /etc/letsencrypt/live/liboo.kr:/etc/letsencrypt/live/liboo.kr:ro
- /etc/letsencrypt/archive/liboo.kr:/etc/letsencrypt/archive/liboo.kr:ro
- /etc/nginx/ssl/dhparams.pem:/etc/nginx/ssl/dhparams.pem:ro
networks:
- default-network
backend-rtmp-server:
container_name: rtmp-container
build:
context: backend/rtmpServer
dockerfile: dockerfile
image: liboost/backend-rtmp-server:latest
env_file: backend/.env
networks:
- default-network
- backend-bridge
backend-main-server:
container_name: main-container
build:
context: backend/mainServer
dockerfile: dockerfile
image: liboost/backend-main-server:latest
env_file: backend/.env
networks:
- default-network
- backend-bridge
networks:
backend-bridge:
driver: bridge
name: media-server
default-network:
driver: bridge