Updated volumes for logs

This commit is contained in:
Mikhail Trofimov 2025-07-11 15:11:52 +03:00
parent 1e88776f2b
commit 63afa9b8ae
3 changed files with 6 additions and 6 deletions

View file

@ -2,8 +2,8 @@ FROM eclipse-temurin:17-jre-alpine
MAINTAINER ru.nbch
RUN apk add gcompat bash
VOLUME /opt/app/logs
VOLUME /opt/app/json_logs
VOLUME /opt/app/logs/app
VOLUME /opt/app/logs/json
VOLUME /opt/app/reports
WORKDIR /opt/app

View file

@ -4,8 +4,8 @@ services:
container_name: credit-tracker
restart: always
volumes:
- ${LOGS_DIR}:/opt/app/logs
- ${JSON_LOGS_DIR}:/opt/app/json_logs
- ${LOGS_DIR}:/opt/app/logs/app
- ${JSON_LOGS_DIR}:/opt/app/logs/json
- ${REPORT_DIR}:/opt/app/reports
ports:
- "${HOST_PORT}:${SERVER_PORT}"

View file

@ -34,11 +34,11 @@
<customFields>
{
"service": {
"name": "${APM_SERVICE_NAME:-service-core}",
"name": "${APM_SERVICE_NAME:-credit-tracker}",
"version": "${APM_SERVICE_VERSION:-unknown}"
},
"event" : {
"dataset": "service-core.log"
"dataset": "credit-tracker.log"
}
}
</customFields>