force Rails to listen on localhost only and disable the cron process

the cron process will only work on Linux systems so it has to be disabled.
better this way anyways since I prefer to use the native cron system.
This commit is contained in:
edshot99 2024-11-06 22:05:07 -06:00
parent 3d627b9d04
commit 8fb9c0bd7f

View File

@ -1,4 +1,4 @@
server: bin/rails server -p 9000 -b 0.0.0.0 --pid=/tmp/rails-server.pid server: ./bin/rails server -p 9000 -b 127.0.0.1 --pid=/tmp/rails-server.pid
# server: PITCHFORK_LISTEN_ADDRESS=0.0.0.0:9000 PITCHFORK_WORKER_COUNT=2 bundle exec pitchfork -c config/pitchfork.rb # server: PITCHFORK_LISTEN_ADDRESS=0.0.0.0:9000 PITCHFORK_WORKER_COUNT=2 bundle exec pitchfork -c config/pitchfork.rb
jobs: SIDEKIQ_QUEUES="low_prio:1;video:1;iqdb:1;tags:2;default:3;high_prio:5" bundle exec sidekiq jobs: SIDEKIQ_QUEUES="low_prio:1;video:1;iqdb:1;tags:2;default:3;high_prio:5" bundle exec sidekiq
cron: run-parts /etc/periodic/daily && crond -f # cron: run-parts /etc/periodic/daily && crond -f