wip
All checks were successful
build / image (push) Successful in 1m36s

This commit is contained in:
Antoine Pelletier 2026-10-24 12:57:34 +02:00
parent ce985ef784
commit 7f2e202f1e
2 changed files with 25 additions and 2 deletions

4
.gitignore vendored
View file

@ -1,4 +1,4 @@
/target
config.yml
config.yaml
/config.yml
/config.yaml
/storage

23
docker/config.yml Normal file
View file

@ -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__<login>__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