From da6f96bbd614a84657b4782e33464c77cccd3eb6 Mon Sep 17 00:00:00 2001 From: David Roff Date: Mon, 22 Jan 2024 15:35:03 +0000 Subject: [PATCH 1/2] Update docker-compose.yml --- docker-compose.yml | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index fcb5298..3fba6d4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -8,26 +8,11 @@ services: ports: - 9090:9090 environment: - - "db_hostname=dcsa-test-db" - "SPRING_PROFILES_ACTIVE=${SPRING_PROFILES_ACTIVE:-nosecurity}" - - "SPRING_DATASOURCE_PASSWORD=9c072fe8-c59c-11ea-b8d1-7b6577e9f3f5" - "ROOT_LOG_LEVEL=${ROOT_LOG_LEVEL:-INFO}" - "DCSA_LOG_LEVEL=${DCSA_LOG_LEVEL:-INFO}" logging: options: max-file: '10' max-size: 200k - links: - - dcsa-test-db:dcsa-test-db - depends_on: - - dcsa-test-db - - dcsa-test-db: - image: postgres:15-alpine - container_name: dcsa_rmo_db - environment: - POSTGRES_PASSWORD: "change_this_password" - volumes: - - ./domain/src/main/init.db:/docker-entrypoint-initdb.d:ro - ports: - - 5432:5432 + From 5ed27c4e1f32720937f3518fd0c5ac1f7e2cb4bb Mon Sep 17 00:00:00 2001 From: David Roff Date: Mon, 22 Jan 2024 15:37:57 +0000 Subject: [PATCH 2/2] Update README.md update readme for instructions --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index fff0208..c678e49 100644 --- a/README.md +++ b/README.md @@ -5,14 +5,10 @@ ``` mvn clean package -java -jar application/target/dcsa-rmo-application.jar +docker-compose up -d -V --build curl http://localhost:9090/rmo/v3/events?equipmentReference=APZU4812090 -``` -Docker -``` -docker-compose up -d -V --build ``` NOTE: The project is only configured with specific containers to return a response, please use the urls provided to test.