/
docker-compose.yml
71 lines (64 loc) · 1.31 KB
/
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
version: "3.9"
networks:
newNet:
driver: bridge
services:
auth:
build:
context: ./auth
dockerfile: Dockerfile
ports:
- "5000:5000"
env_file:
auth/.env
networks:
- newNet
api:
build:
context: api
dockerfile: Dockerfile
ports:
- "5001:5001"
env_file:
api/.env
networks:
- newNet
monitor:
build:
context: ./monitor
dockerfile: Dockerfile
env_file:
monitor/.env
networks:
- newNet
mariadb:
image: lscr.io/linuxserver/mariadb
container_name: mariadb
networks:
- newNet
environment:
- PUID=1000
- PGID=1000
- MYSQL_ROOT_PASSWORD=${ROOT_ACCESS_PASSWORD}
- TZ=${TIME_ZONE}
- MYSQL_DATABASE=${DB_NAME} #optional
- MYSQL_USER=${DB_USER} #optional
- MYSQL_PASSWORD=${DB_PASSWORD} #optional
#- REMOTE_SQL=http://URL1/your.sql,https://URL2/your.sql #optional
volumes:
- ./.sql:/config
ports:
- 3306:3306
restart: unless-stopped
rtmp:
image: alqutami/rtmp-hls
container_name: rtmp-server
networks:
- newNet
ports:
- 8080:8080
- 1935:1935
volumes:
- ./webui/admin/:/usr/local/nginx/html/
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
restart: unless-stopped