-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsupervisor.api.conf
More file actions
42 lines (38 loc) · 1.57 KB
/
Copy pathsupervisor.api.conf
File metadata and controls
42 lines (38 loc) · 1.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# API PROCESSES
[program:codx-junior-api]
environment=HOME="/home/codx-junior",
USER="codx-junior",
DEBUG="%(ENV_DEBUG)s",
CODX_JUNIOR_LLMFACTORY_URL="%(ENV_CODX_JUNIOR_LLMFACTORY_URL)s",
CODX_JUNIOR_CODER_PORT="%(ENV_CODX_JUNIOR_CODER_PORT)s",
CODX_JUNIOR_NOVNC_PORT="%(ENV_CODX_JUNIOR_NOVNC_PORT)s",
CODX_JUNIOR_API_PORT="%(ENV_CODX_JUNIOR_API_PORT)s",
WEB_PORT="%(ENV_CODX_JUNIOR_WEB_PORT)s",
CODX_JUNIOR_GLOBAL_SETTINGS_PATH="%(ENV_CODX_JUNIOR_GLOBAL_SETTINGS_PATH)s",
CODX_JUNIOR_MILVUS_URL="%(ENV_CODX_JUNIOR_MILVUS_URL)s",
CODX_JUNIOR_API_BACKGROUND="",
autorestart=true
priority=300
user=codx-junior
redirect_stderr=true
directory=%(ENV_CODX_JUNIOR_PATH)s
command=bash %(ENV_CODX_JUNIOR_PATH)s/scripts/run_api.sh
stdout_logfile=%(ENV_CODX_SUPERVISOR_LOG_FOLDER)s/codx-junior-api.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=7
# [program:codx-autogen-studio]
# environment=HOME="/home/codx-junior",
# USER="codx-junior",
# DEBUG="%(ENV_DEBUG)s",
# CODX_JUNIOR_AUTOGEN_STUDIO_PORT="%(ENV_CODX_JUNIOR_AUTOGEN_STUDIO_PORT)s",
# CODX_JUNIOR_API_PORT="%(ENV_CODX_JUNIOR_API_PORT)s",
#
# autorestart=true
# priority=300
# user=codx-junior
# redirect_stderr=true
# directory=%(ENV_CODX_JUNIOR_PATH)s
# command=bash %(ENV_CODX_JUNIOR_PATH)s/scripts/run_autogenstudio.sh
# stdout_logfile=%(ENV_CODX_SUPERVISOR_LOG_FOLDER)s/codx-junior-autogen-studio.log
# stdout_logfile_maxbytes=50MB
# stdout_logfile_backups=7