Add test service with volumes and include label
This commit is contained in:
parent
95defe9e8a
commit
4a88cd04da
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue