Skip to content

Add an example with PostgreSQL and Docker Compose.#112

Merged
aantron merged 3 commits intocamlworks:masterfrom
jsthomas:issue-99
Jul 6, 2021
Merged

Add an example with PostgreSQL and Docker Compose.#112
aantron merged 3 commits intocamlworks:masterfrom
jsthomas:issue-99

Conversation

@jsthomas
Copy link
Copy Markdown
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
Copy Markdown
Collaborator

aantron commented Jul 6, 2021

@jsthomas, looks great!

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

https://github.com/aantron/dream/blob/dd2b8dcdf458d0b95f91e0ae058bdfd71e28672a/.github/workflows/test.yml#L31

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

and before this line

https://github.com/aantron/dream/blob/dd2b8dcdf458d0b95f91e0ae058bdfd71e28672a/dream.opam#L99

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

@jsthomas
Copy link
Copy Markdown
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 camlworks:master Jul 6, 2021
@aantron
Copy link
Copy Markdown
Collaborator

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

Development

Successfully merging this pull request may close these issues.

2 participants