CoI_Agent / supervisord.conf
jianghuyihei's picture
first commit
863d8a3
raw
history blame
547 Bytes
[supervisord]
nodaemon=true
pidfile=/dev/null
logfile=/dev/null
logfile_maxbytes=0
logfile_backups=0
loglevel=info
[program:gradle_service]
command=/app/grobid/gradlew run
environment=JAVA_HOME="/opt/jdk-11.0.2",PATH="/opt/jdk-11.0.2/bin:/home/user/.local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
directory=/app
autostart=true
autorestart=true
startsecs=10
stdout_logfile=/dev/stdout
stderr_logfile=/dev/stder
[program:uvicorn_service]
command=uvicorn app:app --host "0.0.0.0" --port 7860
directory=/app