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 a setup for using docker compose to run a local database #93

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cflipse
Copy link
Contributor

@cflipse cflipse commented Nov 14, 2024

This will prefer a DATABASE_URL if it's set, otherwise, fall back
to checking for a running docker database via docker compose, and
only if that fails, fall back to a system postgres server

This adds dotenv to the requirements, to avoid duplicating the
authentication credentials for docker's postgres

@cflipse cflipse requested a review from solnic as a code owner November 14, 2024 21:54
This will prefer a `DATABASE_URL` if it's set, otherwise, fall back
to checking for a running docker database via docker compose, and
only if that fails, fall back to a system postgres server

This adds `dotenv` to the requirements, to avoid duplicating the
authentication credentials for docker's postgres
@cflipse cflipse force-pushed the docker-database branch 2 times, most recently from fcfa4ef to 8e3f5f6 Compare November 14, 2024 22:02
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.

1 participant