Skip to content

Commit

Permalink
feat(demo): run kthxbye in demo container
Browse files Browse the repository at this point in the history
  • Loading branch information
prymitive committed Nov 4, 2019
1 parent 6e90712 commit ad4d4bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions demo/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 /bin/kthxbye
RUN adduser -D karma
USER karma
ENV GOGC=20
Expand Down
8 changes: 8 additions & 0 deletions demo/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ad4d4bb

Please sign in to comment.