Updated volumes for logs
This commit is contained in:
parent
1e88776f2b
commit
63afa9b8ae
3 changed files with 6 additions and 6 deletions
|
|
@ -2,8 +2,8 @@ FROM eclipse-temurin:17-jre-alpine
|
||||||
MAINTAINER ru.nbch
|
MAINTAINER ru.nbch
|
||||||
RUN apk add gcompat bash
|
RUN apk add gcompat bash
|
||||||
|
|
||||||
VOLUME /opt/app/logs
|
VOLUME /opt/app/logs/app
|
||||||
VOLUME /opt/app/json_logs
|
VOLUME /opt/app/logs/json
|
||||||
VOLUME /opt/app/reports
|
VOLUME /opt/app/reports
|
||||||
|
|
||||||
WORKDIR /opt/app
|
WORKDIR /opt/app
|
||||||
|
|
|
||||||
|
|
@ -4,8 +4,8 @@ services:
|
||||||
container_name: credit-tracker
|
container_name: credit-tracker
|
||||||
restart: always
|
restart: always
|
||||||
volumes:
|
volumes:
|
||||||
- ${LOGS_DIR}:/opt/app/logs
|
- ${LOGS_DIR}:/opt/app/logs/app
|
||||||
- ${JSON_LOGS_DIR}:/opt/app/json_logs
|
- ${JSON_LOGS_DIR}:/opt/app/logs/json
|
||||||
- ${REPORT_DIR}:/opt/app/reports
|
- ${REPORT_DIR}:/opt/app/reports
|
||||||
ports:
|
ports:
|
||||||
- "${HOST_PORT}:${SERVER_PORT}"
|
- "${HOST_PORT}:${SERVER_PORT}"
|
||||||
|
|
|
||||||
|
|
@ -34,11 +34,11 @@
|
||||||
<customFields>
|
<customFields>
|
||||||
{
|
{
|
||||||
"service": {
|
"service": {
|
||||||
"name": "${APM_SERVICE_NAME:-service-core}",
|
"name": "${APM_SERVICE_NAME:-credit-tracker}",
|
||||||
"version": "${APM_SERVICE_VERSION:-unknown}"
|
"version": "${APM_SERVICE_VERSION:-unknown}"
|
||||||
},
|
},
|
||||||
"event" : {
|
"event" : {
|
||||||
"dataset": "service-core.log"
|
"dataset": "credit-tracker.log"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</customFields>
|
</customFields>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue