File tree 1 file changed +18
-0
lines changed
1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,24 @@ In order to start application you need to run maven command in root folder of ap
51
51
52
52
` mvn spring-boot:run `
53
53
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
+
54
72
## License
55
73
56
74
elasticsearch-spring-demo is released under [ MIT License] ( https://opensource.org/licenses/MIT ) .
You can’t perform that action at this time.
0 commit comments