Update kopia
This commit is contained in:
@@ -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"
|
|
@@ -2,7 +2,7 @@ version: "3.8"
|
|||||||
services:
|
services:
|
||||||
kopia:
|
kopia:
|
||||||
image: "kopia/kopia:0.20.1"
|
image: "kopia/kopia:0.20.1"
|
||||||
container_name: "kopia-${CONTAINER_NAME}"
|
container_name: "${CONTAINER_NAME}"
|
||||||
hostname: "${HOSTNAME}"
|
hostname: "${HOSTNAME}"
|
||||||
ports:
|
ports:
|
||||||
- "${PORT}:51515"
|
- "${PORT}:51515"
|
||||||
|
Reference in New Issue
Block a user