Update kopia

This commit is contained in:
2025-06-14 16:46:51 +05:30
parent 123b2bcdb4
commit beed6da9cb

View File

@@ -1,11 +1,8 @@
version: "3.8"
services: services:
kopia: kopia:
image: "kopia/kopia:0.20.1" image: "kopia/kopia:0.20.1"
container_name: "${CONTAINER_NAME}" container_name: "${CONTAINER_NAME}"
hostname: "${HOSTNAME}" hostname: "${HOSTNAME}"
ports:
- "${PORT}:51515"
# Setup the server that provides the web gui # Setup the server that provides the web gui
command: command:
- server - server
@@ -22,17 +19,19 @@ services:
- "TZ=${TZ}" - "TZ=${TZ}"
volumes: volumes:
# Mount local folders needed by kopia # Mount local folders needed by kopia
- "${CONFIG_PATH}:/app/config" - "./config:/app/config"
- "${CACHE_PATH}:/app/cache" - "./cache:/app/cache"
- "${LOGS_PATH}:/app/logs" - "./logs:/app/logs"
# Scripts path # Scripts path
- "${SCRIPTS_PATH}:/scripts" - "./scripts:/scripts"
# Mount path for browsing mounted snaphots # Mount path for browsing mounted snaphots
- "${TEMP_PATH}:/tmp:shared" - "./tmp:/tmp:shared"
# Mount local folders to snapshot
- "${SOURCE_PATH}:/data:ro"
# Mount repository location # Mount repository location
- "${BACKUP_PATH}:/repository" - "${BACKUP_PATH}:/repository"
# Restore path # Restore path
- "${RESTORE_PATH}:/restore" - "${RESTORE_PATH}:/restore"
# Mount local folders to snapshot ports:
- "${SOURCE_PATH}:/data:ro" - "${PORT}:51515"
restart: "unless-stopped" restart: "unless-stopped"