feat: add client to supervisord.conf
This commit is contained in:
@@ -10,7 +10,7 @@ environment=
|
||||
MYSQL_HOST=localhost,
|
||||
MYSQL_USER=connect,
|
||||
MYSQL_PORT=3306,
|
||||
MYSQL_PASSWORD=%(ENV_MYSQL_PASSWORD)s,
|
||||
MYSQL_PASSWORD=hackme,
|
||||
BROKER_PROTOCOL=amqp,
|
||||
BROKER_HOST=localhost,
|
||||
BROKER_USER=guest,
|
||||
@@ -25,3 +25,19 @@ stderr_logfile=api.err.log
|
||||
autostart=true
|
||||
autorestart=true
|
||||
startretries=5
|
||||
|
||||
[program:client]
|
||||
environment=
|
||||
REACT_APP_WEBSOCKET_PROTOCOL=ws,
|
||||
REACT_APP_HTTP_PROTOCOL=http,
|
||||
REACT_APP_API_URL=localhost:8000,
|
||||
REACT_APP_URL=localhost:3000
|
||||
command=bash -c 'cd client; npm run build; serve -s build'
|
||||
numprocs=1
|
||||
process_name=node-%(process_num)d
|
||||
stdout_logfile=client.out.log
|
||||
stderr_logfile=client.err.log
|
||||
autostart=true
|
||||
autorestart=true
|
||||
startretries=5
|
||||
|
||||
|
Reference in New Issue
Block a user