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. #112

Merged
merged 3 commits into from Jul 6, 2021

Conversation

jsthomas
Copy link
Contributor

@jsthomas jsthomas commented Jul 5, 2021

This change addresses #99. It introduces an example illustrating how to use Docker Compose to run a Dream container and a PostgreSQL container. The example app server is essentially the same as an earlier example with small changes to use PostgreSQL instead of SQLite.

@aantron
Copy link
Owner

aantron commented Jul 6, 2021

@jsthomas, looks great!

To get the CI to pass, could you, before this line

- run: opam depext --yes conf-libev

add - run: opam depext --yes conf-postgresql

and before this line

"caqti-driver-sqlite3" {with-test}

add "caqti-driver-postgresql" {with-test}

@jsthomas
Copy link
Contributor Author

jsthomas commented Jul 6, 2021

Ok, I believe CI should be all set now. Thanks for helping me fix that.

@aantron aantron merged commit cac2db7 into aantron:master Jul 6, 2021
@aantron
Copy link
Owner

aantron commented Jul 6, 2021

Thanks for the PR and the fix!

@jsthomas jsthomas deleted the issue-99 branch July 6, 2021 19:31
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.

None yet

2 participants