Map project into container in dev

This commit is contained in:
Einar Forselv 2019-04-15 18:30:49 +02:00
parent f7d7dcbf58
commit 6c25628ecb
1 changed files with 3 additions and 1 deletions

View File

@ -5,5 +5,7 @@ services:
env_file: env_file:
- restic_volume_backup.env - restic_volume_backup.env
volumes: volumes:
# Map in docker socket
- /var/run/docker.sock:/tmp/docker.sock:ro - /var/run/docker.sock:/tmp/docker.sock:ro
- ../restic-volume-backup/restic-backup:/restic-backup # Map in project source
- .:/restic-volume-backup