Skip to content

Commit

Permalink
supervisord.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
daveearley committed May 3, 2024
1 parent e60c53c commit 0b2025d
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions docker/all-in-one/supervisor/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,21 @@ logfile=/dev/stdout
logfile_maxbytes=0
loglevel=info

[unix_http_server]
file=/var/run/supervisor.sock

[supervisorctl]
serverurl=unix:///var/run/supervisor.sock

[program:nginx]
command=/usr/sbin/nginx -g "daemon off;"
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stderr_logfile=/dev/stderr
redirect_stderr=true
stdout_logfile_maxbytes = 0
stderr_logfile_maxbytes = 0
stdout_logfile_maxbytes=0
stderr_logfile_maxbytes=0

[program:php-fpm]
command=/usr/local/sbin/php-fpm -F
Expand All @@ -21,8 +27,8 @@ autorestart=true
stdout_logfile=/dev/stdout
stderr_logfile=/dev/stderr
redirect_stderr=true
stdout_logfile_maxbytes = 0
stderr_logfile_maxbytes = 0
stdout_logfile_maxbytes=0
stderr_logfile_maxbytes=0

[program:nodejs]
command=yarn start
Expand All @@ -32,6 +38,6 @@ autorestart=true
stdout_logfile=/dev/stdout
stderr_logfile=/dev/stderr
redirect_stderr=true
stdout_logfile_maxbytes = 0
stderr_logfile_maxbytes = 0
stdout_logfile_maxbytes=0
stderr_logfile_maxbytes=0
environment=NODE_ENV="production",VITE_API_URL_CLIENT="%(ENV_VITE_API_URL_CLIENT)s",VITE_API_URL_SERVER="http://localhost:80/api",VITE_FRONTEND_URL="%(ENV_VITE_FRONTEND_URL)s",VITE_STRIPE_PUBLISHABLE_KEY="%(ENV_VITE_STRIPE_PUBLISHABLE_KEY)s"

0 comments on commit 0b2025d

Please sign in to comment.