Skip to content

christianmetz/wildfly-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wildfly MySQL DevStack

Docker Build Status Docker Automated build

About

This repo contains the DevStack Dockerfile.
Your feedback is always welcome.

Features

The development stack consists of:

  • Wildfly: Java EE application server
  • MySQL: Relational database management system

Requirements

  • Docker (including docker-compose)

Quick Start

This section gives you a quick overview on how to get started.

Boot the environment by running:

# starts the `app` and `db` containers
$ docker-compose up

Now you can access the components:

Stop the environment:

# remove the containers
$ docker-compose down

Deep dive

The following environment variables show the default values.

Configure your environment:

Appserver

Official WildFly image documentation

  • WILDFLY_USER=admin
  • WILDFLY_PASS=adminPassword
  • Database configuration
    This config must match the one of the MySQL database (name, user, password).
    • DB_NAME=sample
      Important: The JNDI name follows the pattern: /jdbc/datasources/<DB_NAME>DS
    • DB_USER=mysql
    • DB_PASS=mysql

Database

Official MySQL image documentation

  • MYSQL_DATABASE=sample
  • MYSQL_USER=mysql
  • MYSQL_PASSWORD=mysql
  • MYSQL_ROOT_PASSWORD=supersecret
    • Hint: This is the password for the MySQL root user.

Issues

Please submit issues through the issue tracker on GitHub.

Development

Credits

Released under the MIT License.

Releases

No releases published

Packages

No packages published