Skip to content

Commit

Permalink
update docker files and yaml (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollins-axway authored Apr 18, 2024
1 parent c67f78b commit 6b338db
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/traceability/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ COPY --from=builder /etc/passwd /etc/passwd
COPY --from=builder /traceability_agent /kong_traceability_agent
COPY build/traceability/kong_traceability_agent.yml /kong_traceability_agent.yml

RUN mkdir /keys && \
chown -R axway /keys && \
RUN mkdir /keys /logs && \
chown -R axway /keys /logs && \
apk --no-cache add openssl libssl3 libcrypto3 musl musl-utils libc6-compat busybox curl && \
find / -perm /6000 -type f -exec chmod a-s {} \; || true

USER axway

VOLUME ["/keys"]
VOLUME ["/keys", "/logs"]

HEALTHCHECK --retries=1 CMD /kong_traceability_agent --status || exit 1

Expand Down
6 changes: 6 additions & 0 deletions build/traceability/kong_traceability_agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ kong_traceability_agent:
file:
name: ${LOG_FILE_NAME:traceability_agent.log}
path: ${LOG_FILE_PATH:logs}
metricfile:
enabled: ${LOG_METRICFILE_ENABLED:true}
name: ${LOG_METRICFILE_NAME:metrics.log}
keepfiles: ${LOG_METRICFILE_KEEPFILES:7}
rotateeverybytes: ${LOG_METRICFILE_ROTATEEVERYBYTES:10485760}
cleanbackups: ${LOG_METRICFILE_CLEANBACKUPS:0}

# Send output to Central Database
output.traceability:
Expand Down

0 comments on commit 6b338db

Please sign in to comment.