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

Merged
merged 2 commits into from
Nov 27, 2024

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
Copy link
Member

@timriley timriley left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @cflipse!

@timriley timriley merged commit 1406651 into rom-rb:main Nov 27, 2024
12 checks passed
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