Merge branch 'staging-deployment-config' into staging-unstable
This commit is contained in:
commit
f8a9ac4112
2 changed files with 14 additions and 1 deletions
|
@ -6,4 +6,4 @@ ADD . /
|
||||||
RUN pip3 install -r /requirements.txt
|
RUN pip3 install -r /requirements.txt
|
||||||
|
|
||||||
EXPOSE 80/tcp
|
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
13
matemat.docker.conf
Normal 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
|
Loading…
Reference in a new issue