Merge pull request #1125 from prymitive/demo-kthxbye

feat(demo): run kthxbye in demo container
This commit is contained in:
Łukasz Mierzwa
2019-11-04 12:20:19 +00:00
committed by GitHub
2 changed files with 9 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ COPY demo/generator.py /generator.py
COPY --from=go-builder /src/karma /karma
COPY demo/karma.yaml /etc/karma.yaml
COPY demo/custom.js /custom.js
COPY --from=lmierzwa/kthxbye:v0.4 /kthxbye /kthxbye
RUN adduser -D karma
USER karma
ENV GOGC=20

View File

@@ -37,3 +37,11 @@ stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
[program:kthxbye]
command=/kthxbye -listen :8081
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0