Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vlkb-soda
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ViaLactea
vlkb-soda
Commits
07cec0b3
Commit
07cec0b3
authored
8 months ago
by
Robert Butora
Browse files
Options
Downloads
Patches
Plain Diff
docker: sends logs to stdout (soda.logging.properties) including access_log (which is a Valve)
parent
505493d7
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
docker/Dockerfile.soda
+2
-0
2 additions, 0 deletions
docker/Dockerfile.soda
docker/Dockerfile.soda.temurin-jammy
+2
-0
2 additions, 0 deletions
docker/Dockerfile.soda.temurin-jammy
docker/deps/server.xml
+2
-2
2 additions, 2 deletions
docker/deps/server.xml
with
6 additions
and
2 deletions
docker/Dockerfile.soda
+
2
−
0
View file @
07cec0b3
...
...
@@ -42,6 +42,8 @@ RUN echo "${INST_DIR}/lib" > /etc/ld.so.conf.d/ast.conf && ldconfig \
# change webapps-dir and preconfigure port 8080 (no SSL)
COPY deps/server.xml deps/server-connector.xml ${CATALINA_BASE}/conf/
COPY deps/soda.logging.properties ${CATALINA_BASE}/conf/
COPY deps/setenv.sh ${CATALINA_BASE}/bin/
# configure at start-up
...
...
This diff is collapsed.
Click to expand it.
docker/Dockerfile.soda.temurin-jammy
+
2
−
0
View file @
07cec0b3
...
...
@@ -38,6 +38,8 @@ RUN echo "${INST_DIR}/lib" > /etc/ld.so.conf.d/ast.conf && ldconfig \
# pre-configure port 8080 (no TSL)
COPY deps/server.xml deps/server-connector.xml ${CATALINA_BASE}/conf/
COPY deps/soda.logging.properties ${CATALINA_BASE}/conf/
COPY deps/setenv.sh ${CATALINA_BASE}/bin/
# modif permissions to allow run as non-root: need to config TSL and ROOT-CONTEXT
WORKDIR ${CATALINA_BASE}
...
...
This diff is collapsed.
Click to expand it.
docker/deps/server.xml
+
2
−
2
View file @
07cec0b3
...
...
@@ -30,8 +30,8 @@
</Realm>
<Host
name=
"localhost"
appBase=
"webapps"
unpackWARs=
"true"
autoDeploy=
"true"
>
<Valve
className=
"org.apache.catalina.valves.AccessLogValve"
directory=
"
logs
"
prefix=
"
localhost_access_log"
suffix=
".txt
"
<Valve
className=
"org.apache.catalina.valves.AccessLogValve"
directory=
"
/dev
"
prefix=
"
stdout"
suffix=
""
fileDateFormat=
"
"
pattern=
"%h %l %u %t "%r" %s %b"
/>
</Host>
</Engine>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment