mirror of
https://github.com/offen/docker-volume-backup.git
synced 2026-04-23 00:45:36 +02:00
docs: Update the custom commands documentation (#288)
Include requirement for docker socket and the need to use EXEC_LABEL if you are running multiple copies
This commit is contained in:
committed by
GitHub
parent
e8ac4e1da6
commit
d0d8e5b076
@@ -57,9 +57,11 @@ services:
|
||||
volumes:
|
||||
- data:/backup/my-app-backup:ro
|
||||
# Mounting the Docker socket allows the script to stop and restart
|
||||
# the container during backup. You can omit this if you don't want
|
||||
# to stop the container. In case you need to proxy the socket, you can
|
||||
# also provide a location by setting `DOCKER_HOST` in the container
|
||||
# the container during backup and to access the container labels to
|
||||
# specify custom commands. You can omit this if you don't want to
|
||||
# stop the container or run custom commands. In case you need to
|
||||
# proxy the socket, you can also provide a location by setting
|
||||
# `DOCKER_HOST` in the container
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
# If you mount a local directory or volume to `/archive` a local
|
||||
# copy of the backup will be stored there. You can override the
|
||||
|
||||
Reference in New Issue
Block a user