-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathcompose.yaml
More file actions
121 lines (117 loc) · 3.1 KB
/
Copy pathcompose.yaml
File metadata and controls
121 lines (117 loc) · 3.1 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
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
services:
mirakurun:
image: mirakurun
container_name: Mirakurun
build:
context: ./mirakurun
cap_add:
- SYS_ADMIN
- SYS_NICE
ports:
- "40772:40772"
- "9229:9229"
volumes:
- ./mirakurun/conf:/app-config
- ./mirakurun/data:/app-data
environment:
TZ: "Asia/Tokyo"
devices:
- /dev/bus:/dev/bus
- /dev/px4video0:/dev/px4video0
- /dev/px4video1:/dev/px4video1
- /dev/px4video2:/dev/px4video2
- /dev/px4video3:/dev/px4video3
restart: always
logging:
driver: json-file
options:
max-file: "1"
max-size: 10m
mirakurun_init:
image: mirakurun
container_name: Mirakurun_init_container
build:
context: ./mirakurun
depends_on:
mirakurun:
condition: service_started
network_mode: host
command: [ "sh", "-c", "until wget -nv --spider http://localhost:40772/api/status; do sleep 3; done" ]
edcb_chscan:
image: edcb
container_name: EDCB_ChScan
build:
context: ./EDCB
depends_on:
mirakurun_init:
condition: service_completed_successfully
network_mode: host
volumes:
- type: bind
source: "./EDCB/edcb/Common.ini"
target: "/var/local/edcb/Common.ini"
- type: bind
source: "./EDCB/edcb/EpgDataCap_Bon.ini"
target: "/var/local/edcb/EpgDataCap_Bon.ini"
- type: bind
source: "./EDCB/edcb/EpgTimerSrv.ini"
target: "/var/local/edcb/EpgTimerSrv.ini"
- type: bind
source: "./EDCB/edcb/Setting"
target: "/var/local/edcb/Setting"
edcb:
image: edcb
container_name: EDCB
build:
context: ./EDCB
depends_on:
mirakurun_init:
condition: service_completed_successfully
edcb_chscan:
condition: service_completed_successfully
restart: always
network_mode: host
command: /usr/local/bin/EpgTimerSrv
volumes:
- type: bind
source: "./EDCB/edcb/Common.ini"
target: "/var/local/edcb/Common.ini"
- type: bind
source: "./EDCB/edcb/EpgDataCap_Bon.ini"
target: "/var/local/edcb/EpgDataCap_Bon.ini"
- type: bind
source: "./EDCB/edcb/EpgTimerSrv.ini"
target: "/var/local/edcb/EpgTimerSrv.ini"
- type: bind
source: "./EDCB/edcb/Setting"
target: "/var/local/edcb/Setting"
- type: bind
source: "./EDCB/record"
target: "/record"
konomitv:
image: konomitv
container_name: KonomiTV
build:
context: ./KonomiTV
depends_on:
mirakurun_init:
condition: service_completed_successfully
edcb:
condition: service_started
restart: always
network_mode: host
volumes:
- type: bind
source: './KonomiTV/config.yaml'
target: '/code/config.yaml'
- type: bind
source: './KonomiTV/server/data/'
target: '/code/server/data/'
- type: bind
source: './KonomiTV/server/logs/'
target: '/code/server/logs/'
- type: bind
source: '/'
target: '/host-rootfs/'
devices:
- '/dev/dri/:/dev/dri/'