mirror of
https://github.com/asimonson1125/asimonson1125.github.io.git
synced 2026-02-25 05:09:49 -06:00
g
This commit is contained in:
@@ -28,10 +28,10 @@ COPY gunicorn.conf /etc/supervisor/conf.d/gunicorn.conf
|
|||||||
# Permissions
|
# Permissions
|
||||||
# RUN adduser --disabled-password --gecos '' supervisor && \
|
# RUN adduser --disabled-password --gecos '' supervisor && \
|
||||||
RUN chmod -R 775 /var/* && \
|
RUN chmod -R 775 /var/* && \
|
||||||
chown -R ubuntu:supervisor /var/*
|
chown -R root /var/*
|
||||||
|
|
||||||
# Entrypoint
|
# Entrypoint
|
||||||
USER ubuntu:supervisor
|
USER root
|
||||||
|
|
||||||
# Start processes
|
# Start processes
|
||||||
CMD ["/usr/bin/supervisord"]
|
CMD ["/usr/bin/supervisord"]
|
||||||
|
|||||||
@@ -2,8 +2,6 @@
|
|||||||
nodaemon=true
|
nodaemon=true
|
||||||
logfile=/dev/null
|
logfile=/dev/null
|
||||||
loglevel=critical
|
loglevel=critical
|
||||||
environment=HOME="/",USER="supervisor"
|
|
||||||
user=supervisor
|
|
||||||
redirect_stderr=true
|
redirect_stderr=true
|
||||||
stdout_logfile=/dev/null
|
stdout_logfile=/dev/null
|
||||||
|
|
||||||
@@ -11,7 +9,5 @@ stdout_logfile=/dev/null
|
|||||||
command=/usr/sbin/nginx
|
command=/usr/sbin/nginx
|
||||||
logfile=/dev/null
|
logfile=/dev/null
|
||||||
loglevel=critical
|
loglevel=critical
|
||||||
environment=HOME="/",USER="supervisor"
|
|
||||||
user=supervisor
|
|
||||||
redirect_stderr=true
|
redirect_stderr=true
|
||||||
stdout_logfile=/dev/null
|
stdout_logfile=/dev/null
|
||||||
Reference in New Issue
Block a user