mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-09-28 06:35:24 +00:00
Add test service with volumes and include label
This commit is contained in:
@@ -9,3 +9,10 @@ services:
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
# Map in project source
|
||||
- .:/restic-volume-backup
|
||||
web:
|
||||
image: nginx
|
||||
labels:
|
||||
restic-volume-backup.include: "/tests"
|
||||
volumes:
|
||||
- ./tests:/srv/tests
|
||||
- ./.vscode:/srv/code
|
||||
|
Reference in New Issue
Block a user