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

Is it possible to add environment variables to thinking_sphinx.yml #1268

Open
atomical opened this issue Dec 4, 2024 · 1 comment
Open

Comments

@atomical
Copy link

atomical commented Dec 4, 2024

Is it possible to add environment variables to thinking_sphinx.yml? It looks like it's not possible but wondering if there is another solution for setting host address dynamically.

@pat
Copy link
Owner

pat commented Dec 4, 2024

thinking_sphinx.yml gets parsed as an ERB file, so you can add <%= ENV["SPHINX_HOST"] %> or similar in there :)

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