Add test service with volumes and include label

This commit is contained in:
Einar Forselv 2019-04-17 00:09:13 +02:00
parent 95defe9e8a
commit 4a88cd04da
1 changed files with 7 additions and 0 deletions

View File

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