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 an example with PostgreSQL and Docker Compose #99

Closed
3 tasks
aantron opened this issue Jul 3, 2021 · 0 comments
Closed
3 tasks

Add an example with PostgreSQL and Docker Compose #99

aantron opened this issue Jul 3, 2021 · 0 comments

Comments

@aantron
Copy link
Owner

aantron commented Jul 3, 2021

...to serve as an easy starting point for people that want that kind of setup.

We already have an example that just uses esy, Dream, and Docker Compose. We just need to:

  • Copy it and add a Postgres container to it.
  • Connect to the database from the Dream code. See the SQL example. We need to do something similar, but use a Postgres connection string rather than SQLite.
  • Remove deployment boilerplate, as it won't be a deployment example. We can link back to the Docker deployment example for that.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant