http://jira.mfd.msk:8088/browse/BKI-3174 Added tomcat access logs; Updated version to 1.0
This commit is contained in:
parent
2a19a8da87
commit
834c6bdebb
5 changed files with 9 additions and 1 deletions
|
|
@ -4,6 +4,7 @@ RUN apk add gcompat bash
|
|||
|
||||
VOLUME /opt/app/logs/app
|
||||
VOLUME /opt/app/logs/json
|
||||
VOLUME /opt/app/logs/access
|
||||
VOLUME /opt/app/reports
|
||||
|
||||
WORKDIR /opt/app
|
||||
|
|
|
|||
|
|
@ -1,4 +1,9 @@
|
|||
server.port=${SERVER_PORT:8099}
|
||||
server.tomcat.accesslog.enabled=true
|
||||
server.tomcat.accesslog.directory=/opt/app/logs/access
|
||||
server.tomcat.accesslog.prefix=access_log.
|
||||
server.tomcat.accesslog.suffix=.log
|
||||
server.tomcat.accesslog.pattern=%h %l %u %t "%r" %s %b
|
||||
|
||||
# datasources
|
||||
# indic
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ JMX_HOSTNAME=
|
|||
REPORT_DIR=D:\folder_name\signals
|
||||
LOGS_DIR=D:\folder_name\signals\logs\app
|
||||
JSON_LOGS_DIR=D:\folder_name\signals\logs\json
|
||||
ACCESS_LOGS_DIR=D:\folder_name\signals\logs\access
|
||||
|
||||
#APM settings
|
||||
APM_SERVICE_NAME=credit-tracker
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ services:
|
|||
- ${LOGS_DIR}:/opt/app/logs/app
|
||||
- ${JSON_LOGS_DIR}:/opt/app/logs/json
|
||||
- ${REPORT_DIR}:/opt/app/reports
|
||||
- ${ACCESS_LOGS_DIR}:/opt/app/logs/access
|
||||
ports:
|
||||
- "${HOST_PORT}:${SERVER_PORT}"
|
||||
environment:
|
||||
|
|
|
|||
2
pom.xml
2
pom.xml
|
|
@ -10,7 +10,7 @@
|
|||
</parent>
|
||||
<groupId>ru.nbch</groupId>
|
||||
<artifactId>credit-tracker</artifactId>
|
||||
<version>0.9</version>
|
||||
<version>1.0</version>
|
||||
<name>credit_tracker</name>
|
||||
<description>Credit Tracker Application</description>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue