Code Monkey home page Code Monkey logo

wildfly-mysql's Introduction

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.

wildfly-mysql's People

Contributors

christianmetz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

wildfly-mysql's Issues

datasource not created

unfortunately, docker-compose up does not create the datasource, neither it downloads jdbc drivers!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.