[mod] gitea backup

This commit is contained in:
Andy Bunce 2022-03-21 22:48:54 +00:00
parent 1c624f8df0
commit aac765a797
2 changed files with 6 additions and 6 deletions

View file

@ -20,7 +20,7 @@ set -e
# Gitea config / SQL DB backup rotation # Gitea config / SQL DB backup rotation
CONTAINER=gitea CONTAINER=gitea
# Backup dir from our perspective # 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) # Git repo dir from our perspective (it's outside container)
HOST_GIT_REPO_DIR="/mnt/drive/docker/thedocks/gitea/data/git/repositories" HOST_GIT_REPO_DIR="/mnt/drive/docker/thedocks/gitea/data/git/repositories"
# Git LFS dir from our perspective (it's outside container) # Git LFS dir from our perspective (it's outside container)

View file

@ -3,14 +3,14 @@ services:
jellyfin: jellyfin:
image: jellyfin/jellyfin image: jellyfin/jellyfin
container_name: jellyfin container_name: jellyfin
user: 1000:1000 user: 1000:100
network_mode: "host" network_mode: "host"
volumes: volumes:
- ./config:/config - ./config:/config
- ./cache:/cache - ./cache:/cache
- /path/to/media:/media - /path/to/media:/music
- /path/to/media2:/media2:ro - /path/to/media2:/photos
restart: "unless-stopped" restart: "unless-stopped"
# Optional - alternative address used for autodiscovery # Optional - alternative address used for autodiscovery
environment: #environment:
- JELLYFIN_PublishedServerUrl=http://example.com # - JELLYFIN_PublishedServerUrl=http://example.com