Skip to content

327 adds docker compose setup w postgres#328

Open
willbuck wants to merge 2 commits intominnestar:mainfrom
willbuck:327-adds-docker-compose-setup-w-postgres
Open

327 adds docker compose setup w postgres#328
willbuck wants to merge 2 commits intominnestar:mainfrom
willbuck:327-adds-docker-compose-setup-w-postgres

Conversation

@willbuck
Copy link

@willbuck willbuck commented Feb 20, 2025

Closes #327

@cadomac
Copy link

cadomac commented Feb 20, 2025

Can attest that this worked beautifully. Just had to run docker-compose up and the application spun up with no issues!

@@ -0,0 +1,34 @@
version: '3.9'
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm pretty sure "version" is obsolete and can be removed. Additionally, the new idiom is to call this file compose.yaml. Would you mind making that change?


services:
db:
image: postgres:15
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason for 15 rather than 16 or 17?

@jcoyne
Copy link
Contributor

jcoyne commented Feb 21, 2025

Can you remove 27bec45 from this PR and make it just docker compose?

@pcantrell
Copy link
Contributor

As long as somebody’s actually using the feature, seems like a good idea.

This PR also seems to include a commit from the social media feature? May need a rebase + force push.

@experimatt
Copy link
Contributor

@pcantrell @willbuck what should we do with this PR? Close it, or do we actually want to include a Docker option in the repo? My gut says the app is still so small that running it natively is just fine. If the setup were more involved Docker would make more sense, but it would also muddy the setup instructions (do you run it native, or with docker?)

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.

Add docker compose for immediate workabililty

5 participants