Move package to src/ to properly separate what goes into docker image
This commit is contained in:
parent
0af9f2e8ee
commit
130be30268
|
@ -1,7 +1,7 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
services:
|
services:
|
||||||
backup:
|
backup:
|
||||||
build: .
|
build: ./src
|
||||||
env_file:
|
env_file:
|
||||||
- restic_compose_backup.env
|
- restic_compose_backup.env
|
||||||
- alerts.env
|
- alerts.env
|
||||||
|
@ -12,7 +12,7 @@ services:
|
||||||
- ./restic_data:/restic_data
|
- ./restic_data:/restic_data
|
||||||
- ./restic_cache:/cache
|
- ./restic_cache:/cache
|
||||||
# Map in project source in dev
|
# Map in project source in dev
|
||||||
- .:/restic-compose-backup
|
- ./src:/restic-compose-backup
|
||||||
web:
|
web:
|
||||||
image: nginx
|
image: nginx
|
||||||
labels:
|
labels:
|
||||||
|
|
Loading…
Reference in New Issue