BAEL-2275: Move docker directory to test resources. Add README.md for it.

This commit is contained in:
Lukasz Rys
2019-12-07 21:50:20 +01:00
parent 0efb132504
commit b00e9f81ae
4 changed files with 8 additions and 2 deletions

View File

@@ -1 +0,0 @@
ORDER_DOCKER_MONGODB_PORT=27017

View File

@@ -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*)

View File

@@ -5,7 +5,7 @@ services:
image: mongo:3.4.13
restart: always
ports:
- ${ORDER_DOCKER_MONGODB_PORT}:27017
- 27017:27017
environment:
MONGO_INITDB_ROOT_USERNAME: admin
MONGO_INITDB_ROOT_PASSWORD: admin