This repository has been archived on 2020-03-24. You can view files and clone it, but cannot push or open issues or pull requests.
quay/config_app/conf/supervisord.conf
Max Audron a2284141d2
add required new-installation env value to configapp supervisord.conf
* Sets ENCRYPTED_ROBOT_TOKEN_MIGRATION_PHASE=new-installation in
  config_app/conf/supervisord.conf for the gunicorn service
2019-11-21 08:49:12 +01:00

44 lines
1.2 KiB
Text

; TODO: Dockerfile - pip install supervisor supervisor-stdout
[supervisord]
nodaemon=true
[unix_http_server]
file=%(ENV_QUAYDIR)s/config_app/conf/supervisord.sock
user=root
[supervisorctl]
serverurl=unix:///%(ENV_QUAYDIR)s/config_app/conf/supervisord.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[eventlistener:stdout]
environment=
PYTHONPATH=%(ENV_QUAYDIR)s
command = supervisor_stdout
buffer_size = 1024
events = PROCESS_LOG
result_handler = supervisor_stdout:event_handler
[program:gunicorn-config]
environment=
PYTHONPATH=%(ENV_QUAYDIR)s,ENCRYPTED_ROBOT_TOKEN_MIGRATION_PHASE=new-installation
command=gunicorn -c %(ENV_QUAYDIR)s/config_app/conf/gunicorn_web.py config_application:application
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stdout
stderr_logfile_maxbytes=0
stdout_events_enabled = true
stderr_events_enabled = true
[program:nginx]
environment=
PYTHONPATH=%(ENV_QUAYDIR)s
command=nginx -c %(ENV_QUAYDIR)s/config_app/conf/nginx.conf
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stdout
stderr_logfile_maxbytes=0
stdout_events_enabled = true
stderr_events_enabled = true