mirror of
https://github.com/ZettaIO/restic-compose-backup.git
synced 2026-11-17 18:35:40 +00:00
Add test service with volumes and include label
This commit is contained in:
1 parent
95defe9e8a
commit
4a88cd04da
1 file changed
+7
@@ -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