Skip to content

Commit

Permalink
Cuberfile: prevent a load-balancer to be created for the web service
Browse files Browse the repository at this point in the history
Let traefik take care of the ingress.
  • Loading branch information
zonque committed Apr 19, 2024
1 parent eac4bc1 commit e9d2493
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cuberfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ env 'EXCEPTION_NOTIFIER_RECIPIENT', File.read("#{ENV['CONFIG_ROOT']}/config/exce
env 'PLAUSIBLE_DOMAIN', File.read("#{ENV['CONFIG_ROOT']}/config/plausible.domain").strip rescue nil
env 'PLAUSIBLE_SRC', File.read("#{ENV['CONFIG_ROOT']}/config/plausible.src").strip rescue nil

# Don't create a load balancer for the web service
ingress true

# Run and scale any command on Kubernetes
proc :web, 'bundle exec rails s', scale: 8
proc :metrics, 'bundle exec rails s', scale: 1
Expand Down

0 comments on commit e9d2493

Please sign in to comment.