From aac765a7977adcd444fbf46fdc0dcad5977d6687 Mon Sep 17 00:00:00 2001 From: Andy Bunce Date: Mon, 21 Mar 2022 22:48:54 +0000 Subject: [PATCH] [mod] gitea backup --- gitea/backup_gitea.sh | 2 +- jellyfin/docker-compose.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gitea/backup_gitea.sh b/gitea/backup_gitea.sh index aded7ab..28eefdf 100644 --- a/gitea/backup_gitea.sh +++ b/gitea/backup_gitea.sh @@ -20,7 +20,7 @@ set -e # Gitea config / SQL DB backup rotation CONTAINER=gitea # Backup dir from our perspective -HOST_BACKUP_DIR="/mnt/drive/backups" +HOST_BACKUP_DIR="/mnt/drive/backups/gitea" # Git repo dir from our perspective (it's outside container) HOST_GIT_REPO_DIR="/mnt/drive/docker/thedocks/gitea/data/git/repositories" # Git LFS dir from our perspective (it's outside container) diff --git a/jellyfin/docker-compose.yml b/jellyfin/docker-compose.yml index 6b7bd54..bba864a 100644 --- a/jellyfin/docker-compose.yml +++ b/jellyfin/docker-compose.yml @@ -3,14 +3,14 @@ services: jellyfin: image: jellyfin/jellyfin container_name: jellyfin - user: 1000:1000 + user: 1000:100 network_mode: "host" volumes: - ./config:/config - ./cache:/cache - - /path/to/media:/media - - /path/to/media2:/media2:ro + - /path/to/media:/music + - /path/to/media2:/photos restart: "unless-stopped" # Optional - alternative address used for autodiscovery - environment: - - JELLYFIN_PublishedServerUrl=http://example.com + #environment: + # - JELLYFIN_PublishedServerUrl=http://example.com