Ensure all examples in docs mount a readonly socket

This commit is contained in:
Frederik Ring 2025-02-27 11:47:57 +01:00
parent bad2d98ac8
commit d8ac5ae7e6
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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: