Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions deployment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -237,13 +237,14 @@ else
fi

# jellyfin
JELLYFIN_APP_FOLDERS=("jellyfin")
JELLYFIN_DATA_FOLDERS=("jellyfin")
JELLYFIN_APP_FOLDERS=("jellyfin" "xteve")
JELLYFIN_DATA_FOLDERS=("jellyfin" "xteve")
JELLYFIN_ENV_FILE="jellyfin.${TARGET_ENV}"
JELLYFIN_CERT_PATH=/certs/${JELLYFIN_CERT_FILE:=fullchain.pem}
JELLYFIN_PRIVATE_KEY_PATH=/certs/${JELLYFIN_PRIVATE_KEY_FILE:=private.pem}
JELLYFIN_CONFIG_PATH="${APPS_BASE}/jellyfin"
JELLYFIN_DATA_PATH="${DATA_BASE}/jellyfin"
XTEVE_CONF_PATH="${DATA_BASE}/xteve"
if [ "${JELLYFIN_ENABLED}" == "yes" ]; then
echo -e "${colors[Green]} Jellyfin setup${colors[Color_Off]}"
create_subfolders ${APPS_BASE} JELLYFIN_APP_FOLDERS
Expand Down
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -381,3 +381,13 @@ services:
memory: 512M
reservations:
memory: 128M

xteve:
container_name: homecloud_xteve
profiles: ["jellyfin"]
image: docker.io/dnsforge/xteve
restart: unless-stopped
ports:
- 34400:34400
environment:
TZ: "Asia/Singapore"
4 changes: 4 additions & 0 deletions docker/jellyfin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,7 @@
volumes:
- {{JELLYFIN_CONFIG_PATH}}:/config
- {{JELLYFIN_DATA_PATH}}:/data

xteve:
volumes:
- {{XTEVE_CONF_PATH}}:/home/xteve/conf