Fixed Dockerfile and added docker-compose.

This commit is contained in:
Marvin Blum
2019-12-12 23:34:32 +01:00
parent 03839254a6
commit e8df92164b
2 changed files with 12 additions and 6 deletions

View File

@@ -33,12 +33,11 @@ RUN addgroup -S appuser && \
USER appuser
# default config
ENV EMVI_WIKI_HOST=0.0.0.0:8080
ENV EMVI_WIKI_LOGLEVEL=info
ENV EMVI_WIKI_ALLOWED_ORIGINS=*
ENV EMVI_WIKI_HTTP_WRITE_TIMEOUT=5
ENV EMVI_WIKI_HTTP_READ_TIMEOUT=5
ENV EMVI_WIKI_TEMPLATE_BASE=/template
ENV SCHNITTFEST_HOST=0.0.0.0:8080
ENV SCHNITTFEST_LOGLEVEL=info
ENV SCHNITTFEST_ALLOWED_ORIGINS=*
ENV SCHNITTFEST_HTTP_WRITE_TIMEOUT=5
ENV SCHNITTFEST_HTTP_READ_TIMEOUT=5
# run
EXPOSE 8080

7
docker-compose.yml Normal file
View File

@@ -0,0 +1,7 @@
version: '3'
services:
schnittfest:
image: kugel/schnittfest
ports:
- "8080:80"