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
|
||||
# RUN adduser --disabled-password --gecos '' supervisor && \
|
||||
RUN chmod -R 775 /var/* && \
|
||||
chown -R ubuntu:supervisor /var/*
|
||||
chown -R root /var/*
|
||||
|
||||
# Entrypoint
|
||||
USER ubuntu:supervisor
|
||||
USER root
|
||||
|
||||
# Start processes
|
||||
CMD ["/usr/bin/supervisord"]
|
||||
|
||||
@@ -2,8 +2,6 @@
|
||||
nodaemon=true
|
||||
logfile=/dev/null
|
||||
loglevel=critical
|
||||
environment=HOME="/",USER="supervisor"
|
||||
user=supervisor
|
||||
redirect_stderr=true
|
||||
stdout_logfile=/dev/null
|
||||
|
||||
@@ -11,7 +9,5 @@ stdout_logfile=/dev/null
|
||||
command=/usr/sbin/nginx
|
||||
logfile=/dev/null
|
||||
loglevel=critical
|
||||
environment=HOME="/",USER="supervisor"
|
||||
user=supervisor
|
||||
redirect_stderr=true
|
||||
stdout_logfile=/dev/null
|
||||
Reference in New Issue
Block a user