From 8fb9c0bd7faaee33f2004d1b9be1363d8eef5391 Mon Sep 17 00:00:00 2001 From: edshot99 Date: Wed, 6 Nov 2024 22:05:07 -0600 Subject: [PATCH] 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. --- Procfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Procfile b/Procfile index 4ee446124..b7037d88f 100644 --- a/Procfile +++ b/Procfile @@ -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 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