Skip to content

Commit d2909db

Browse files
committed
Update readme file
1 parent 81fcbd2 commit d2909db

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,24 @@ In order to start application you need to run maven command in root folder of ap
5151

5252
`mvn spring-boot:run`
5353

54+
## Databases
55+
56+
If you for some reason don't want to install MySQL and ElasticSearch on your machine, you can use supplied docker-compose configuration file.
57+
58+
### What You Need To Install?
59+
60+
* [Docker](https://docs.docker.com/)
61+
* [Doker Compose](https://docs.docker.com/compose/install/)
62+
63+
### How To Start Containers?
64+
65+
In order to start **MySQL** container and **ElasticSearch** container this need to be done:
66+
67+
* Open terminal in `docker` folder of this project
68+
* Start docker-compose with command: `docker-compose up` or `sudo docker-compose up`
69+
70+
Pay attention that this two containers expect **ports 3306, 9200 and 9300 to be free**.
71+
5472
## License
5573

5674
elasticsearch-spring-demo is released under [MIT License](https://opensource.org/licenses/MIT).

0 commit comments

Comments
 (0)