Merge branch 'staging-deployment-config' into staging-unstable

This commit is contained in:
s3lph 2018-07-16 19:57:27 +02:00
commit f8a9ac4112
2 changed files with 14 additions and 1 deletions

View file

@ -6,4 +6,4 @@ ADD . /
RUN pip3 install -r /requirements.txt
EXPOSE 80/tcp
CMD [ "/usr/local/bin/python3", "-m", "matemat" ]
CMD [ "/usr/local/bin/python3", "-m", "matemat", "/etc/matemat.conf", "/matemat.docker.conf" ]

13
matemat.docker.conf Normal file
View file

@ -0,0 +1,13 @@
[Matemat]
Address=::
Port=80
StaticPath=/static
TemplatePath=/templates
LogTarget=stdout
[Pagelets]
UploadDir=/static/upload
DatabaseFile=/var/matemat/db/test.db