diff --git a/.dockerignore b/.dockerignore index 75d6d71..893e812 100644 --- a/.dockerignore +++ b/.dockerignore @@ -3,4 +3,5 @@ __pycache__/ test*.py ToDo .vscode -.notebooks \ No newline at end of file +.notebooks +logs/* \ No newline at end of file diff --git a/.gitignore b/.gitignore index 532685d..43ec942 100644 --- a/.gitignore +++ b/.gitignore @@ -8,4 +8,5 @@ venv .venv temp .notebooks -**/old/ \ No newline at end of file +**/old/ +logs/* \ No newline at end of file diff --git a/README.md b/README.md index 8586414..0f7ec08 100644 --- a/README.md +++ b/README.md @@ -148,8 +148,8 @@ services: PUID: 1000 PGID: 1000 volumes: - - $DOCKERDIR/appdata/decluttarr/config.yaml:/config/config.yaml - # - $DOCKERDIR/appdata/decluttarr/logs.txt:/temp/logs.txt # Uncomment to get logs in text file, too + - $DOCKERDIR/appdata/decluttarr/config.yaml:/app/config/config.yaml + # - $DOCKERDIR/appdata/decluttarr/logs:/app/logs # Uncomment to get logs in text file, too ``` @@ -259,7 +259,7 @@ services: # name: "qBittorrent" # (optional -> if not provided, assuming "qBittorrent". Must correspond with what is specified in your *arr as download client name) volumes: - # - $DOCKERDIR/appdata/decluttarr/logs.txt:/temp/logs.txt # Uncomment to get logs in text file, too + # - $DOCKERDIR/appdata/decluttarr/logs:/app/logs # Uncomment to get logs in text file, too ``` diff --git a/src/settings/_constants.py b/src/settings/_constants.py index 891ed89..f0e431c 100644 --- a/src/settings/_constants.py +++ b/src/settings/_constants.py @@ -14,7 +14,7 @@ class Envs: class Paths: - logs = "./temp/logs.txt" + logs = "./logs/logs.txt" config_file = "./config/config.yaml"