mirror of
https://github.com/offen/docker-volume-backup.git
synced 2025-09-06 14:37:44 +08:00
Ensure all examples in docs mount a readonly socket
This commit is contained in:
parent
bad2d98ac8
commit
d8ac5ae7e6
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ services:
|
|||
- docker-volume-backup.copy-post=/bin/sh -c 'rsync $$COMMAND_RUNTIME_ARCHIVE_FILEPATH /destination'
|
||||
volumes:
|
||||
- app_data:/backup/app_data:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
|
||||
# other services defined here ...
|
||||
volumes:
|
||||
|
|
|
@ -358,7 +358,7 @@ services:
|
|||
volumes:
|
||||
- ./local:/archive
|
||||
- data:/backup/data:ro
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
|
||||
volumes:
|
||||
data:
|
||||
|
|
Loading…
Add table
Reference in a new issue