Update kopia

This commit is contained in:
2025-06-05 21:04:36 +05:30
parent 759bfa9af8
commit 1610e19782
2 changed files with 1 additions and 37 deletions

View File

@@ -1,36 +0,0 @@
version: "3.8"
services:
kopia:
image: "kopia/kopia:0.20.1"
container_name: "kopia-${CONTAINER_NAME}"
hostname: "${HOSTNAME}"
ports:
- "${PORT}:51515"
# Setup the server that provides the web gui
command:
- server
- start
- --disable-csrf-token-checks
- --insecure
- --address=0.0.0.0:51515
- --server-username=${SERVER_USERNAME}
- --server-password=${SERVER_PASSWORD}
environment:
# Set repository password
- "KOPIA_PASSWORD=${KOPIA_PASSWORD}"
- "USER=${USER}"
- "TZ=${TZ}"
volumes:
# Mount local folders needed by kopia
- "${CONFIG_PATH}:/app/config"
- "${CACHE_PATH}:/app/cache"
- "${LOGS_PATH}:/app/logs"
# Mount local folders to snapshot
- "${SOURCE_PATH}:/data:ro"
# Mount path for browsing mounted snaphots
- "${TEMP_PATH}:/tmp:shared"
# Restore path
- "${RESTORE_PATH}:/restore"
# Scripts path
- "${SCRIPTS_PATH}:/scripts"
restart: "unless-stopped"

View File

@@ -2,7 +2,7 @@ version: "3.8"
services:
kopia:
image: "kopia/kopia:0.20.1"
container_name: "kopia-${CONTAINER_NAME}"
container_name: "${CONTAINER_NAME}"
hostname: "${HOSTNAME}"
ports:
- "${PORT}:51515"