mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2025-11-23 16:02:29 +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
|
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||||
# Map in project source
|
# Map in project source
|
||||||
- .:/restic-volume-backup
|
- .:/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