-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsupervisor.client.conf
More file actions
50 lines (48 loc) 路 1.85 KB
/
Copy pathsupervisor.client.conf
File metadata and controls
50 lines (48 loc) 路 1.85 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
41
42
43
44
45
46
47
48
49
50
# CODX CLIENT PROCESSES
[program:preview]
environment=HOME="/home/codx-junior",
USER="codx-junior",
CODX_JUNIOR_DISPLAY="%(ENV_CODX_JUNIOR_DISPLAY)s"
autorestart=true
priority=300
user=codx-junior
redirect_stderr=true
command=bash %(ENV_CODX_JUNIOR_PATH)s/scripts/run_noVNC.sh
stdout_logfile=%(ENV_CODX_SUPERVISOR_LOG_FOLDER)s/preview.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=7
[program:code-server]
environment=HOME="/home/codx-junior",
USER="codx-junior",
CODX_JUNIOR_API_URL="%(ENV_CODX_JUNIOR_API_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"
autorestart=true
priority=300
user=codx-junior
redirect_stderr=true
command=code-server --bind-addr=0.0.0.0:%(ENV_CODX_JUNIOR_CODER_PORT)s --auth=none
stdout_logfile=%(ENV_CODX_SUPERVISOR_LOG_FOLDER)s/code-server.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=7
[program:codx-junior-web]
environment=HOME="/home/codx-junior",
USER="codx-junior",
DEBUG="%(ENV_DEBUG)s",
CODX_JUNIOR_API_URL="%(ENV_CODX_JUNIOR_API_URL)s",
CODX_JUNIOR_HOME="%(ENV_CODX_JUNIOR_PATH)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"
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_client.sh
stdout_logfile=%(ENV_CODX_SUPERVISOR_LOG_FOLDER)s/codx-junior-web.log
stdout_logfile_maxbytes=50MB
stdout_logfile_backups=7