Move package to src/ to properly separate what goes into docker image

This commit is contained in:
Einar Forselv 2019-12-05 10:26:46 +01:00
parent 0af9f2e8ee
commit 130be30268
19 changed files with 2 additions and 2 deletions

View File

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