Sign inSign up

metz/wildfly-mysql

By metz

•Updated about 8 years ago

WildFly appserver with preconfigured MySQL datasource.

Image
0

5.4K

metz/wildfly-mysql repository overview

⁠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

⁠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⁠.

Tag summary

Content type

Image

Digest

Size

342.9 MB

Last updated

about 8 years ago

docker pull metz/wildfly-mysql