[program:preprocess_text_demo_ui]
command=opyrator launch-ui app:preprocess_text --port=7086
directory=%(ENV_RESOURCES_PATH)s/demos/preprocess_text
redirect_stderr=true
;stdout_logfile=/var/log/supervisor/%(program_name)s.log ; log logs into file
stdout_logfile=/proc/1/fd/1 ; log error into stdout to see in docker logs
stdout_logfile_maxbytes=0
autostart=true ; start at supervisord start (default: true)
autorestart=true ; whether/when to restart (default: unexpected)
startretries=5   ; max # of serial start failures (default 3)

[program:preprocess_text_demo_api]
command=opyrator launch-api app:preprocess_text --port=6086
directory=%(ENV_RESOURCES_PATH)s/demos/preprocess_text
redirect_stderr=true
;stdout_logfile=/var/log/supervisor/%(program_name)s.log ; log logs into file
stdout_logfile=/proc/1/fd/1 ; log error into stdout to see in docker logs
stdout_logfile_maxbytes=0
autostart=true ; start at supervisord start (default: true)
autorestart=true ; whether/when to restart (default: unexpected)
startretries=5   ; max # of serial start failures (default 3)
