-
Notifications
You must be signed in to change notification settings - Fork 67
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
Implement Docker #20
base: master
Are you sure you want to change the base?
Implement Docker #20
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it comes from a good idea! But I think it's not perfect yet, you should have a look to my comments 💯
@@ -42,7 +42,7 @@ config :eventstore, EventStore.Storage, | |||
username: "postgres", | |||
password: "postgres", | |||
database: "conduit_eventstore_dev", | |||
hostname: "localhost", | |||
hostname: "eventstore", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
By doing this, you will force everybody to run on docker. Because if you run it locally it won't work..
I'm pretty sure this is not what people want :) What do you think?
@@ -51,5 +51,5 @@ config :conduit, Conduit.Repo, | |||
username: "postgres", | |||
password: "postgres", | |||
database: "conduit_readstore_dev", | |||
hostname: "localhost", | |||
hostname: "readstore", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same than ☝️
- 4000:4000 | ||
|
||
eventstore: | ||
image: postgres |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should prefix and use a fix major version.
image: postgres | ||
|
||
readstore: | ||
image: postgres |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same ☝️
This PR makes it easier to get up and running.