BAEL-2275: Move docker directory to test resources. Add README.md for it.
This commit is contained in:
parent
6d1caf8026
commit
9de21f0fc8
|
@ -1 +0,0 @@
|
||||||
ORDER_DOCKER_MONGODB_PORT=27017
|
|
|
@ -0,0 +1,7 @@
|
||||||
|
## Setup DDD Hexagonal Spring Application
|
||||||
|
|
||||||
|
To run this project, follow these steps:
|
||||||
|
|
||||||
|
* Launch the Spring Boot Application (DomainLayerApplication).
|
||||||
|
* Run the application database by executing `docker-compose up` in this directory.
|
||||||
|
* By default, application will connect to this database (configuration in *ddd-layers.properties*)
|
|
@ -5,7 +5,7 @@ services:
|
||||||
image: mongo:3.4.13
|
image: mongo:3.4.13
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- ${ORDER_DOCKER_MONGODB_PORT}:27017
|
- 27017:27017
|
||||||
environment:
|
environment:
|
||||||
MONGO_INITDB_ROOT_USERNAME: admin
|
MONGO_INITDB_ROOT_USERNAME: admin
|
||||||
MONGO_INITDB_ROOT_PASSWORD: admin
|
MONGO_INITDB_ROOT_PASSWORD: admin
|
Loading…
Reference in New Issue