Giter VIP home page Giter VIP logo

wildfly-postgresql's Introduction

Wildfly application server with PostgreSQL database driver

This image contains Wildfly 10.1 server with PostgreSQL database driver. The project inherits from tonda100/wildfly-empty project. At the build time or start you have to setup these enviroment variables

  • DB_HOST - hostname or IP address of database
  • DB_PORT - port of database
  • DB_NAME - name of the database
  • DB_USER - username used for connection to database
  • DB_PASS - password user for connection to database The connection string is then created as jdbc:postgresql://$DB_HOST:$DB_PORT/$DB_NAME more details see startWithPostgres.sh

There is possibility to copy a cli file into $CLI_DIR all the cli files will be run by jboss-cli at startup time.

Test

Project can be tested with separate containers or via docker-compose.

docker network create wildfly
docker run -d --name postgres -p 5432:5432 --net=wildfly -e POSTGRES_USER=myapp -e POSTGRES_PASSWORD=my-password postgres:9.6.1
docker run -d --name wildfly -p 8080:8080 --net=wildfly -e DB_HOST=postgres -e DB_NAME=myapp -e DB_USER=myapp -e DB_PASS=my-password tonda100/wildfly-postgresql

Project is available on GitHub

wildfly-postgresql's People

Contributors

mhaziq1407 avatar

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.