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

Consider changing docker-compose to only run Solr and Postgres, not the Rails app #1037

Open
marlo-longley opened this issue Jun 3, 2024 · 0 comments

Comments

@marlo-longley
Copy link
Contributor

See for example our setup in Stanford-Arclight: https://github.com/sul-dlss/stanford-arclight/blob/fa8810e684150f82e676fd3279c1ab159900b6cc/docker-compose.yml -- this was a very handy way to work, it was basically a swap out for solr_wrapper with Docker.

In this approach, Rails app still runs directly on the local machine, so you do not need to prefix commands with docker compose exec app. You are also able to run tests successfully. Since we aren't deploying this app via Docker, removing it from the docker setup is a more straightforward dev setup in my opinion.

Writing up this ticket after a discussion with Nick and some minor work in #876

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

1 participant