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

Kuby for a dockerized project #130

Open
javid-g opened this issue Jun 26, 2023 · 1 comment
Open

Kuby for a dockerized project #130

javid-g opened this issue Jun 26, 2023 · 1 comment

Comments

@javid-g
Copy link

javid-g commented Jun 26, 2023

Hi! Thank you for this awesome project. I am attempting to use kuby for the first time and have some questions. Is the project still in active development?

I have a application that is already containerized and I use docker-compose locally to develop, is there a reccomended approach to configuring Kuby with that setup?

I seem to also be having an issue with the db setup, I added the cockroachdb adapter as per the documentation, but my build command spits out the following. Any ideas?

error: undefined local variable or method `adapter' for Kuby::Plugins::RailsApp::Database:Class
@camertron
Copy link
Member

Hey @javid-g, glad you're taking Kuby for a spin! Yes, I'm still actively maintaining the project :)

I have a application that is already containerized and I use docker-compose locally to develop, is there a reccomended approach to configuring Kuby with that setup?

Right now Kuby doesn't support docker-compose, or any solution where you bring your own Dockerfile. This is because the Docker build and deployment mechanism are pretty tightly coupled. Kuby adds an abstraction layer over the whole thing.

I seem to also be having an issue with the db setup, I added the cockroachdb adapter as per the documentation, but my build command spits out the following. Any ideas?

Without seeing the code I'm not 100% sure. Are you able to share the code you're working on or put together a reproducible app I can take a look at? In the interim, make sure of the following:

  1. Set adapter: cockroachdb in config/database.yml.
  2. Deploy by specifying the -e production (or whatever environment has adapter: cockroachdb) flag.

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