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

Add DB_OPTIONS to enable DBs with SSL #434

Merged
merged 3 commits into from
Feb 23, 2021

Conversation

angelnu
Copy link
Contributor

@angelnu angelnu commented Feb 20, 2021

Thanks for your work!

When trying to connect to connect to a postgres secured with TLS it failed to connect. With this PR it works:

docker run --rm -ti --name recipes -e DB_ENGINE=django.db.backends.postgresql_psycopg2 -e POSTGRES_HOST=recipes-db-postgres-cluster-postgres -e DB_OPTIONS='{"sslmode":"require"}' angelnu/recipes

@vabene1111
Copy link
Collaborator

thank you very much, i will review this and get it merged

@vabene1111 vabene1111 merged commit 2831277 into TandoorRecipes:develop Feb 23, 2021
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

Successfully merging this pull request may close these issues.

2 participants