Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing HOST config inside Rails app, fails on fresh install #113

Open
thoughtpunch opened this issue Jan 6, 2025 · 1 comment
Open

Comments

@thoughtpunch
Copy link

Error

When installed installing locally from Docker image the following error is thrown

ArgumentError (Missing host to link to! Please provide the :host parameter, set default_url_options[:host], or set :only_path to true)

Attempted Resolutions

  1. Setting HOST env var in Docker compose and Dockerfile did not work
  2. Setting HOST at runtime did not work
  3. Setting HOST at build time did not work

I don't want to fork and edit the code to get this to run. Please advise

@robguthrie
Copy link
Member

Did you follow the install instructions in the README.md? The setup script sets a CANONICAL_HOST var in your .env which should fix this.

Was there a line/file with that error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants