mirror of
https://github.com/ysoftdevs/th.git
synced 2026-04-21 00:11:47 +02:00
Added presentation and samples from Marek Goldmann's talk
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
FROM jboss/wildfly
|
||||
|
||||
ADD augeas.cmd /opt/wildfly/
|
||||
RUN augtool -LA -e -f /opt/wildfly/augeas.cmd
|
||||
10
2014_09_26_Goldman_Docker/demos/05-configuration/augeas.cmd
Normal file
10
2014_09_26_Goldman_Docker/demos/05-configuration/augeas.cmd
Normal file
@@ -0,0 +1,10 @@
|
||||
set /augeas/load/Xml/lens Xml.lns
|
||||
set /augeas/load/Xml/incl[2] /opt/wildfly/standalone/configuration/standalone.xml
|
||||
load
|
||||
defvar subsystem "/files/opt/wildfly/standalone/configuration/standalone.xml/server/profile/subsystem[#attribute/xmlns='urn:jboss:domain:logging:2.0']"
|
||||
set $subsystem/console-handler/level/#attribute/name "DEBUG"
|
||||
set $subsystem/root-logger/level/#attribute/name "DEBUG"
|
||||
set $subsystem/logger[last()+1]/#attribute/category "pl.goldmann.example"
|
||||
set $subsystem/logger[last()]/level/#attribute/name "TRACE"
|
||||
save
|
||||
print /augeas//error
|
||||
3
2014_09_26_Goldman_Docker/demos/05-configuration/build.sh
Executable file
3
2014_09_26_Goldman_Docker/demos/05-configuration/build.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
docker build -t wildfly-augeas .
|
||||
12
2014_09_26_Goldman_Docker/demos/05-configuration/more_info.sh
Executable file
12
2014_09_26_Goldman_Docker/demos/05-configuration/more_info.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#/bin/sh
|
||||
|
||||
clear
|
||||
|
||||
echo "Blog post with different ways to customize WildFly configuration:"
|
||||
echo
|
||||
echo " https://goldmann.pl/blog/2014/07/23/customizing-the-configuration-of-the-wildfly-docker-image/"
|
||||
echo
|
||||
echo "Dockerfiles:"
|
||||
echo
|
||||
echo " https://github.com/goldmann/wildfly-docker-configuration/"
|
||||
|
||||
3
2014_09_26_Goldman_Docker/demos/05-configuration/run.sh
Executable file
3
2014_09_26_Goldman_Docker/demos/05-configuration/run.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
docker run -it --rm -p 8080:8080 wildfly-augeas
|
||||
Reference in New Issue
Block a user