-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.prod.yml
93 lines (83 loc) · 2.1 KB
/
docker-compose.prod.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
version: "3.9"
services:
# Home
home:
container_name: local-home
restart: unless-stopped
build:
context: ./containers/local-home
dockerfile: Dockerfile.prod
args:
- VITE_HOSTNAME=$HOSTNAME
# Dashboard
dashboard:
container_name: local-dashboard
restart: unless-stopped
build:
context: ./containers/local-dashboard
dockerfile: Dockerfile.prod
args:
- VITE_HOSTNAME=$HOSTNAME
# Radio Middleware
radio-middleware:
container_name: local-radio-middleware
restart: unless-stopped
privileged: true
build:
context: ./containers/local-radio/local-radio-middleware
dockerfile: Dockerfile.prod
environment:
- PIPE_AUDIO=$PIPE_AUDIO
devices:
- '/dev/snd:/dev/snd'
# Radio Server
radio-server:
container_name: local-radio-server
restart: unless-stopped
build:
context: ./containers/local-radio/local-radio-server
dockerfile: Dockerfile.prod
# TV Middleware
tv-middleware:
container_name: local-tv-middleware
restart: unless-stopped
build:
context: ./containers/local-tv/local-tv-middleware
dockerfile: Dockerfile.prod
# TV Server
tv-server:
container_name: local-tv-server
restart: unless-stopped
build:
context: ./containers/local-tv/local-tv-server
dockerfile: Dockerfile.prod
# Library
library:
container_name: local-library
restart: unless-stopped
build:
context: ./containers/local-library
dockerfile: Dockerfile.prod
volumes:
- ./containers/local-library/files:/var/www/files
# Router
router:
container_name: local-router
restart: unless-stopped
build:
context: ./containers/local-router
dockerfile: Dockerfile.prod
volumes:
- ./ssl/prod/www:/var/www/certbot/:ro
- ./ssl/prod/cert:/opt/nginx/ssl/:ro
ports:
- 80:80
- 443:443
- 1935:1935
# Certbot
certbot:
container_name: certbot
image: certbot/certbot
volumes:
- ./ssl/prod/www:/var/www/certbot/:rw
- ./ssl/prod/cert:/etc/letsencrypt/:rw