This commit is contained in:
parent
ce985ef784
commit
7f2e202f1e
2 changed files with 25 additions and 2 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -1,4 +1,4 @@
|
|||
/target
|
||||
config.yml
|
||||
config.yaml
|
||||
/config.yml
|
||||
/config.yaml
|
||||
/storage
|
||||
|
|
|
|||
23
docker/config.yml
Normal file
23
docker/config.yml
Normal 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
|
||||
Loading…
Add table
Reference in a new issue