|
|
|
[supervisord]
|
|
|
|
nodaemon=true
|
|
|
|
|
|
|
|
[program:nginx]
|
|
|
|
command=/usr/sbin/nginx -g "daemon off;"
|
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
|
|
|
|
[program:rails]
|
|
|
|
command=bundle exec unicorn -c config/unicorn.rb
|
|
|
|
directory=/app
|
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
|
|
|
|
[program:phoenix]
|
|
|
|
command=mix phoenix.server
|
|
|
|
directory=/app
|
|
|
|
environment=PORT=4000
|
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|
|
|
|
|
|
|
|
[program:clj]
|
|
|
|
command=/app/start.sh
|
|
|
|
directory=/app
|
|
|
|
environment=PORT=5000
|
|
|
|
stdout_logfile=/dev/stdout
|
|
|
|
stdout_logfile_maxbytes=0
|
|
|
|
stderr_logfile=/dev/stderr
|
|
|
|
stderr_logfile_maxbytes=0
|