ao3rda commited on
Commit
ca9eb43
·
verified ·
1 Parent(s): 33c469c

Update supervisord.conf

Browse files
Files changed (1) hide show
  1. supervisord.conf +3 -1
supervisord.conf CHANGED
@@ -1,8 +1,10 @@
 
 
1
  [supervisord]
2
  nodaemon=true
3
 
4
  [program:yuedu3]
5
- command=java -jar /app/bin/reader.jar --spring.profiles.active=prod --reader.server.port=7860 --reader.app.secure=true --reader.app.secureKey=$pwd --reader.app.inviteCode=$yqm
6
  autostart=true
7
  autorestart=true
8
  startsecs=0
 
1
+ yqm="${yqm:=huggingface}"
2
+ pwd="${pwd:=huggingface}"
3
  [supervisord]
4
  nodaemon=true
5
 
6
  [program:yuedu3]
7
+ command=java -jar /app/bin/reader.jar --spring.profiles.active=prod --reader.server.port=7860 --reader.app.secure=true --reader.app.secureKey="$pwd" --reader.app.inviteCode="$yqm"
8
  autostart=true
9
  autorestart=true
10
  startsecs=0