From 1fafd859b7387e6bb03fd610915b3569b2a1c3d3 Mon Sep 17 00:00:00 2001 From: Tiberiu Chibici Date: Fri, 2 Nov 2018 02:25:15 +0200 Subject: [PATCH] Fixed docker image. Fixed issue with environment variable interpolation (on Linux, it is case sensitive, so converting to lowercase was bad. Cleaned up directory structure. --- .directory | 6 + .gitignore | 2 +- .idea/workspace.xml | 333 +++++++++++------- Dockerfile | 21 +- app/YtManager/settings.py | 20 +- .../utils/extended_interpolation_with_env.py | 4 +- app/config | 1 - app/init.sh | 5 - config/config.ini | 60 +++- config/defaults.ini | 38 +- docker-compose.yml | 8 +- docker/init.sh | 4 + {nginx => docker/nginx}/nginx.conf | 0 app/requirements.txt => requirements.txt | 0 sqlite3.env.env | 3 - 15 files changed, 331 insertions(+), 174 deletions(-) create mode 100644 .directory delete mode 120000 app/config delete mode 100755 app/init.sh create mode 100755 docker/init.sh rename {nginx => docker/nginx}/nginx.conf (100%) rename app/requirements.txt => requirements.txt (100%) delete mode 100644 sqlite3.env.env diff --git a/.directory b/.directory new file mode 100644 index 0000000..de81d98 --- /dev/null +++ b/.directory @@ -0,0 +1,6 @@ +[Dolphin] +Timestamp=2018,11,1,23,18,12 +Version=4 + +[Settings] +HiddenFilesShown=true diff --git a/.gitignore b/.gitignore index 6fb4095..1817065 100644 --- a/.gitignore +++ b/.gitignore @@ -115,7 +115,7 @@ venv.bak/ .dmypy.json dmypy.json -media/ +data/ .vscode/* !.vscode/settings.json diff --git a/.idea/workspace.xml b/.idea/workspace.xml index d73a71e..6e78d19 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -3,6 +3,17 @@ + + + + + + + + + + + + + + + + + + + + - - + + @@ -208,6 +244,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -223,7 +286,6 @@ - ajax_index_get_videos ajax_index_get_tree self.helper csrf @@ -253,6 +315,7 @@ DeleteS dj_settings is_true + _resolve_section_option loading @@ -276,13 +339,6 @@ @@ -336,11 +399,11 @@ true DEFINITION_ORDER - -