From 47d2c483929f7d7a94d61e61776169d3a070b75d Mon Sep 17 00:00:00 2001 From: Timur Shykhsefiyeu Date: Wed, 23 Oct 2024 14:11:30 +0200 Subject: [PATCH] add props + required files for docker --- app/resources/alerts.list | Bin 58 -> 0 bytes docker-compose.yaml | 9 ++++++--- src/main/jib/app/alerts/alerts.list | Bin 0 -> 257 bytes src/main/jib/app/service.alerts.pb | 0 src/main/resources/application.yml | 9 ++++++--- 5 files changed, 12 insertions(+), 6 deletions(-) delete mode 100644 app/resources/alerts.list create mode 100644 src/main/jib/app/alerts/alerts.list create mode 100644 src/main/jib/app/service.alerts.pb diff --git a/app/resources/alerts.list b/app/resources/alerts.list deleted file mode 100644 index 665a8492e104a67e962def8efdf29300b4a78bae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 58 zcmZ4UmVvdnh(S0ju`E%qv?Mb}&#|Z|vC=2AxTK=-lI+amiF2757(E$SiZiQHD+(BZ KpqvFnRsaBEClVU~ diff --git a/docker-compose.yaml b/docker-compose.yaml index f3ed3b0..0a8c47e 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,15 +1,18 @@ - services: service-alerts: image: wkulesza/service-alerts-server:latest volumes: - - ./app/resources/alerts.list:/app/resources/alerts.list + - alerts-persist:/app/alerts - ./src/main/resources/application.yml:/app/resources/application.yml + - /tmp/service.alerts.pb:/app/service.alerts.pb ports: - - "8888:8888" + - "9999:8888" healthcheck: test: "curl --fail --silent localhost:8888/actuator/health | grep UP || exit 1" interval: 20s timeout: 5s retries: 5 start_period: 40s + +volumes: + alerts-persist: diff --git a/src/main/jib/app/alerts/alerts.list b/src/main/jib/app/alerts/alerts.list new file mode 100644 index 0000000000000000000000000000000000000000..12186295bbf49e00a63e15669b780fef01178e89 GIT binary patch literal 257 zcmZ4UmVvdnh(RqYu`E%qv?Mb}&pAIQCpEbwGe56bCAcy#Iin~)FS9B&#V514WJ>b; z$IUJRHB1bQJ`5~5K#>v#0UwZFeUM&#kQ(cXA_g78#v!cHO8nu=IcMfpW(Fo72FBzP z1~DWP5z4H67+7;lOHwOJ7=$1SauV~>_5G8wfUdQ!C;<9G1YxaDW?nYL%{-dHv0e!s XO3Vxl6$Rxi3_ws($WX_?3MSbBsX