mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
Merge pull request #1125 from prymitive/demo-kthxbye
feat(demo): run kthxbye in demo container
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user