Added certmagic.

This commit is contained in:
Marvin Blum
2019-12-26 00:55:53 +01:00
parent 1f589b8d00
commit 8132e85b6b
5 changed files with 312 additions and 7 deletions

View File

@@ -33,12 +33,13 @@ RUN addgroup -S appuser && \
USER appuser
# default config
ENV SCHNITTFEST_HOST=0.0.0.0:8080
ENV SCHNITTFEST_HOST=0.0.0.0:80
ENV SCHNITTFEST_LOGLEVEL=info
ENV SCHNITTFEST_ALLOWED_ORIGINS=*
ENV SCHNITTFEST_HTTP_WRITE_TIMEOUT=5
ENV SCHNITTFEST_HTTP_READ_TIMEOUT=5
# run
EXPOSE 8080
EXPOSE 80
EXPOSE 443
ENTRYPOINT ["/app/server"]