Add config.sh to configure scaling
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
[program:sidekiq]
|
||||
priority=10
|
||||
directory=/app/code
|
||||
environment=HOME=/app/code,DB_POOL=25,RAILS_ENV=production,MALLOC_ARENA_MAX=2
|
||||
command=bundle exec sidekiq -c 2 -e production
|
||||
environment=HOME=/app/code,RAILS_ENV=production,MALLOC_ARENA_MAX=2
|
||||
command=bundle exec sidekiq -c %(ENV_SIDEKIQ_THREADS)s -e production
|
||||
user=cloudron
|
||||
autostart=true
|
||||
autorestart=true
|
||||
|
@@ -1,7 +1,7 @@
|
||||
[program:streaming]
|
||||
priority=10
|
||||
directory=/app/code
|
||||
environment=HOME=/app/code,NODE_ENV=production,PORT=4000,STREAMING_CLUSTER_NUM=1
|
||||
environment=HOME=/app/code,NODE_ENV=production,PORT=4000
|
||||
command=node /app/code/streaming
|
||||
user=cloudron
|
||||
autostart=true
|
||||
|
Reference in New Issue
Block a user