2021-02-14, 19:42
Got it working like it should in docker-compose. I write here how I did it so people can follow.
docker-compose.yml
kodi.config.
docker-compose.yml
kanzi.XX nginx vhost config:html:version: "2.1"
services:
kanzi:
image: linuxserver/kanzi
container_name: kanzi
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Tallinn
- INVOCATION_NAME=kodi
- URL_ENDPOINT=https://kanzi.myhost.xx/
volumes:
- /usr/share/hassio/homeassistant/kanzi/config:/config
ports:
- 9988:8000
restart: unless-stopped
python:proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Host $server_name;
satisfy any;
allow 72.21.217.0/24;
deny all;
kodi.config.
python:[global]
language = en
deep_search = yes
playlist_max_items = 100
unwatched_shows_max_results = 100
unwatched_episodes_max_results = 100
unwatched_movies_max_results = 100
loglevel = INFO
logsensitive = yes
[alexa]
skill_id =
slot_items_max = 100
[DEFAULT]
scheme = http
address = 192.168.1.12
port = 80
subpath =
username = kodi
password = kodi
cache_bucket =
s3_cache_aws_access_key_id =
s3_cache_aws_secret_access_key =
owncloud_cache_url =
owncloud_cache_user =
owncloud_cache_password =
read_timeout = 120
read_timeout_async = 0.01
shutdown =
timezone = Europe/Tallinn
mongodb_uri=
use_proxy=
alt_proxy=
accept_music_warning=