Skip to content

Commit

Permalink
Ensure all examples in docs mount a readonly socket
Browse files Browse the repository at this point in the history
  • Loading branch information
m90 committed Feb 27, 2025
1 parent bad2d98 commit d8ac5ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docs/recipes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d8ac5ae

Please sign in to comment.