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

Don't recommend modifying docker-compose file to set sub-URI #1987

Open
fbacall opened this issue Sep 4, 2024 · 0 comments
Open

Don't recommend modifying docker-compose file to set sub-URI #1987

fbacall opened this issue Sep 4, 2024 · 0 comments

Comments

@fbacall
Copy link
Contributor

fbacall commented Sep 4, 2024

In https://docs.seek4science.org/tech/docker/docker-compose.html#using-a-sub-uri it mentions editing docker-compose.yml to set RAILS_RELATIVE_URL_ROOT.

This could cause conflicts etc. when upgrading, so it would be better to keep such changes in another .env file that is not under version control.

It is possible to reference multiple env_files in docker-compose, so we could have something like:

    env_file:
      - docker/db.env
      - .env

and recommend the user creates .env and puts any custom variables in there.

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

No branches or pull requests

1 participant