No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
org/mariadb/jdbc/main
Dockerfile
README.md
add-datasource.sh
wildfly-kitchensink.war

README.md

Example showing how we can connect a MariaDB database with WildFly application server.

Build

docker build --rm --tag wildfly-mariadb .

Run

docker run -d --name=mariadb fedora/mariadb
docker run -it --rm --link mariadb:mariadb -p 8080:8080 wildfly-mariadb

Source code

The source code of the application used in this example is available here. One change was made to the source -- the kitchensink-quickstart-ds.xml was removed, because we use the jboss/datasources/KitchensinkQuickstartDS dat source created in the /opt/wildfly/standalone/configuration/standalone.xml configuration file.