From 7f2e202f1e41788749311d39a43afa7740cf094a Mon Sep 17 00:00:00 2001 From: Antoine Pelletier Date: Sat, 24 Oct 2026 12:57:34 +0200 Subject: [PATCH] wip --- .gitignore | 4 ++-- docker/config.yml | 23 +++++++++++++++++++++++ 2 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 docker/config.yml diff --git a/.gitignore b/.gitignore index f66746c..06ccc1d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,4 @@ /target -config.yml -config.yaml +/config.yml +/config.yaml /storage diff --git a/docker/config.yml b/docker/config.yml new file mode 100644 index 0000000..70fd6e1 --- /dev/null +++ b/docker/config.yml @@ -0,0 +1,23 @@ +# Configuration baked into the image (/etc/studium/config.yml). What depends on the +# deployment comes from the environment of the stack: APP__POSTGRES__PASSWORD, +# APP__AUTH__PROXY_SECRET, APP__USERS____STUDENT_ID... +server: + address: 0.0.0.0 + port: 3000 + +postgres: + host: db + port: 5432 + user: postgres + # Given by APP__POSTGRES__PASSWORD + password: '' + name: studium + +frontend_dir: /app/frontend + +# The volume of the stack: a folder per person, then per course +storage_dir: /data/storage + +notes: + template_dir: /app/LaTeX_pdf + logo: assets/epfl.png