Skip to content

Commit b00e9f8

Browse files
committed
BAEL-2275: Move docker directory to test resources. Add README.md for it.
1 parent 0efb132 commit b00e9f8

4 files changed

Lines changed: 8 additions & 2 deletions

File tree

ddd/docker/.env

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Setup DDD Hexagonal Spring Application
2+
3+
To run this project, follow these steps:
4+
5+
* Launch the Spring Boot Application (DomainLayerApplication).
6+
* Run the application database by executing `docker-compose up` in this directory.
7+
* By default, application will connect to this database (configuration in *ddd-layers.properties*)

ddd/docker/docker-compose.yml renamed to ddd/src/test/resources/com/baeldung/dddhexagonalspring/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
image: mongo:3.4.13
66
restart: always
77
ports:
8-
- ${ORDER_DOCKER_MONGODB_PORT}:27017
8+
- 27017:27017
99
environment:
1010
MONGO_INITDB_ROOT_USERNAME: admin
1111
MONGO_INITDB_ROOT_PASSWORD: admin

ddd/docker/mongo-init.js renamed to ddd/src/test/resources/com/baeldung/dddhexagonalspring/mongo-init.js

File renamed without changes.

0 commit comments

Comments
 (0)