32 lines
837 B
Plaintext
32 lines
837 B
Plaintext
[program:nginx]
|
|
command=/usr/sbin/nginx -g "daemon off;"
|
|
autostart=true
|
|
autorestart=true
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:rails]
|
|
directory=/app/code
|
|
command=bundle exec puma -e production -b unix:///run/consuldemocracy.sock
|
|
user=cloudron
|
|
autostart=true
|
|
autorestart=true
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
environment=RAILS_ENV=production,RAILS_LOG_TO_STDOUT=true,RAILS_SERVE_STATIC_FILES=true
|
|
|
|
[program:sidekiq]
|
|
directory=/app/code
|
|
command=bundle exec sidekiq -e production
|
|
user=cloudron
|
|
autostart=true
|
|
autorestart=true
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
environment=RAILS_ENV=production,RAILS_LOG_TO_STDOUT=true |