-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
35 lines (35 loc) · 855 Bytes
/
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
services:
kodi:
build:
context: .
dockerfile: Dockerfile
args:
KODI_VERSION: 21.1-Omega
image: yrzr/kodi-gbm:rk35xx
container_name: kodi-gbm
deploy:
resources:
limits:
cpus: '4.0'
memory: 2G
privileged: true
restart: unless-stopped
environment:
- WEBSERVER_ENABLED=true
- WEBSERVER_PORT=8080
- WEBSERVER_AUTHENTICATION=true
- WEBSERVER_USERNAME=kodi
- WEBSERVER_PASSWORD=kodi
ports:
# web interface
- 8080:8080
# json-rpc
- 9090:9090
# EventServer
- 9777:9777/udp
volumes:
- /etc/localtime:/etc/localtime:ro
- /media:/media:ro
- ./data:/usr/local/share/kodi/portable_data
# entrypoint: /usr/local/bin/kodi-standalone
# command: --logging=console --portable --debug