diff --git a/docker-compose.yaml b/docker-compose.yaml index 3ceaf4f..104f199 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,7 +1,7 @@ version: '3' services: backup: - build: . + build: ./src env_file: - restic_compose_backup.env - alerts.env @@ -12,7 +12,7 @@ services: - ./restic_data:/restic_data - ./restic_cache:/cache # Map in project source in dev - - .:/restic-compose-backup + - ./src:/restic-compose-backup web: image: nginx labels: diff --git a/.dockerignore b/src/.dockerignore similarity index 100% rename from .dockerignore rename to src/.dockerignore diff --git a/Dockerfile b/src/Dockerfile similarity index 100% rename from Dockerfile rename to src/Dockerfile diff --git a/crontab b/src/crontab similarity index 100% rename from crontab rename to src/crontab diff --git a/entrypoint.sh b/src/entrypoint.sh similarity index 100% rename from entrypoint.sh rename to src/entrypoint.sh diff --git a/restic_compose_backup/alerts/__init__.py b/src/restic_compose_backup/alerts/__init__.py similarity index 100% rename from restic_compose_backup/alerts/__init__.py rename to src/restic_compose_backup/alerts/__init__.py diff --git a/restic_compose_backup/alerts/base.py b/src/restic_compose_backup/alerts/base.py similarity index 100% rename from restic_compose_backup/alerts/base.py rename to src/restic_compose_backup/alerts/base.py diff --git a/restic_compose_backup/alerts/discord.py b/src/restic_compose_backup/alerts/discord.py similarity index 100% rename from restic_compose_backup/alerts/discord.py rename to src/restic_compose_backup/alerts/discord.py diff --git a/restic_compose_backup/alerts/smtp.py b/src/restic_compose_backup/alerts/smtp.py similarity index 100% rename from restic_compose_backup/alerts/smtp.py rename to src/restic_compose_backup/alerts/smtp.py diff --git a/restic_compose_backup/backup_runner.py b/src/restic_compose_backup/backup_runner.py similarity index 100% rename from restic_compose_backup/backup_runner.py rename to src/restic_compose_backup/backup_runner.py diff --git a/restic_compose_backup/cli.py b/src/restic_compose_backup/cli.py similarity index 100% rename from restic_compose_backup/cli.py rename to src/restic_compose_backup/cli.py diff --git a/restic_compose_backup/commands.py b/src/restic_compose_backup/commands.py similarity index 100% rename from restic_compose_backup/commands.py rename to src/restic_compose_backup/commands.py diff --git a/restic_compose_backup/config.py b/src/restic_compose_backup/config.py similarity index 100% rename from restic_compose_backup/config.py rename to src/restic_compose_backup/config.py diff --git a/restic_compose_backup/containers.py b/src/restic_compose_backup/containers.py similarity index 100% rename from restic_compose_backup/containers.py rename to src/restic_compose_backup/containers.py diff --git a/restic_compose_backup/containers_db.py b/src/restic_compose_backup/containers_db.py similarity index 100% rename from restic_compose_backup/containers_db.py rename to src/restic_compose_backup/containers_db.py diff --git a/restic_compose_backup/log.py b/src/restic_compose_backup/log.py similarity index 100% rename from restic_compose_backup/log.py rename to src/restic_compose_backup/log.py diff --git a/restic_compose_backup/restic.py b/src/restic_compose_backup/restic.py similarity index 100% rename from restic_compose_backup/restic.py rename to src/restic_compose_backup/restic.py diff --git a/restic_compose_backup/utils.py b/src/restic_compose_backup/utils.py similarity index 100% rename from restic_compose_backup/utils.py rename to src/restic_compose_backup/utils.py diff --git a/setup.py b/src/setup.py similarity index 100% rename from setup.py rename to src/setup.py