Replies: 2 comments
-
I have also verified that the env-file gets created correctly on the filesystem of the host:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
I was able to resolve the issue by manually removing the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm having some trouble getting Kamal to deploy an app that is using an external managed postgres database.
Even though I've configured
database.yml
and Kamal to set the database connection correctly to the external service, it seems like Rails is trying to connect to Postgres locally in the docker container:Here are my relevant config files:
config/deploy.yml
.kamal/secrets
config/database.yml
With this setup Kamal should be pulling the
DATABASE_URL
value from 1Password and inject it as an environment variable in the container, which should then be used bydatabase.yml
, however it seems to be completely ignores.I've checked and double-checked that the
DATABASE_URL
entry is correct in 1Password.Beta Was this translation helpful? Give feedback.
All reactions