Update kopia
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
kopia:
|
||||
image: "kopia/kopia:0.20.1"
|
||||
container_name: "${CONTAINER_NAME}"
|
||||
hostname: "${HOSTNAME}"
|
||||
ports:
|
||||
- "${PORT}:51515"
|
||||
# Setup the server that provides the web gui
|
||||
command:
|
||||
- server
|
||||
@@ -22,17 +19,19 @@ services:
|
||||
- "TZ=${TZ}"
|
||||
volumes:
|
||||
# Mount local folders needed by kopia
|
||||
- "${CONFIG_PATH}:/app/config"
|
||||
- "${CACHE_PATH}:/app/cache"
|
||||
- "${LOGS_PATH}:/app/logs"
|
||||
- "./config:/app/config"
|
||||
- "./cache:/app/cache"
|
||||
- "./logs:/app/logs"
|
||||
# Scripts path
|
||||
- "${SCRIPTS_PATH}:/scripts"
|
||||
- "./scripts:/scripts"
|
||||
# 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
|
||||
- "${BACKUP_PATH}:/repository"
|
||||
# Restore path
|
||||
- "${RESTORE_PATH}:/restore"
|
||||
# Mount local folders to snapshot
|
||||
- "${SOURCE_PATH}:/data:ro"
|
||||
ports:
|
||||
- "${PORT}:51515"
|
||||
restart: "unless-stopped"
|
||||
|
Reference in New Issue
Block a user