Added docker-compose for testing environment#46
Open
ilyastuit wants to merge 1 commit intonaturalprogrammer:1.0from
ilyastuit:adding_docker_for_test_database
Open
Added docker-compose for testing environment#46ilyastuit wants to merge 1 commit intonaturalprogrammer:1.0from ilyastuit:adding_docker_for_test_database
ilyastuit wants to merge 1 commit intonaturalprogrammer:1.0from
ilyastuit:adding_docker_for_test_database
Conversation
Owner
|
Thanks! I'm not very much into docker thingy, but I can merge it if you're sure about it. Actually, I had in mind the Embedded MongoDB. If that works, that may be faster? So, let me know what you think. and then I'd merge it. |
| services: | ||
|
|
||
| database-test: | ||
| image: mongo:3.2.20 |
Owner
There was a problem hiding this comment.
This is the latest image?
Contributor
Author
There was a problem hiding this comment.
No, I thought we should use one exact version.
Actually, we can use the tag latest, so whenever we build the container we will get the latest version of mongodb.
Contributor
Author
Looks interesting. I will try it too. |
c197489 to
aa0e992
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#45
Added docker-compose.yml file with one container for mongo database.
I think we can add same files for other projects too, if they require some services.
To start the container run in lemon-demo-reactive project folder:
docker-compose upand you will be able to connect to mongodb vialocalhost:27017or127.0.0.1:27017docker and docker-compose should be installed on the computer to do so.