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

Use local/dockerized Postgres? #81

Closed
mrysn opened this issue Sep 14, 2023 · 1 comment
Closed

Use local/dockerized Postgres? #81

mrysn opened this issue Sep 14, 2023 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@mrysn
Copy link

mrysn commented Sep 14, 2023

How can I use a local or dockerized instance of Postgres instead of Railway?

@james-langridge
Copy link
Owner

james-langridge commented Sep 14, 2023

You can set the DATABASE_URL env var to any Postgres instance you like, eg, DATABASE_URL=postgresql://<USERNAME>:<PASSWORD>@localhost:5432/<DATABASE_NAME>. Let me know if you need more help.

Edit: I updated the readme just now, which might help. Note that DATABASE_URL needs to be in .env not .env.local.

@james-langridge james-langridge self-assigned this Sep 22, 2023
@james-langridge james-langridge added the help wanted Extra attention is needed label Sep 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants