Giter Site home page Giter Site logo

jenspiegsa / wildfly Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 6.0 45 KB

Dockerfile for WildFly.

Home Page: https://hub.docker.com/r/piegsaj/wildfly/

License: GNU Affero General Public License v3.0

Shell 30.69% Dockerfile 69.31%
dockerfile docker wildfly java java-ee java-ee-7

wildfly's Introduction

WildFly 27.0.0.Final on OpenJDK 17

This is a Docker image for the Java application server WildFly. The image is based on Debian and comes with OpenJDK 17. The Dockerfile has been inspired by this image.

Tags

Features

  • runs in standalone mode
  • binds to all interfaces
  • creates an admin user on first usage
  • installation path: /opt/wildfly
  • linux user: wildfly
  1. Install Docker

Follow the installation instructions for your host system.

  1. Run the image

docker container run --name="wf" -d -p 8080:8080 -p 9990:9990 -e WILDFLY_PASS="a_password" piegsaj/wildfly

or

mkdir /opt/wildfly-deployments
chmod 777 /opt/wildfly-deployments
sudo docker container run --name="wf" -d -p 8080:8080 -p 9990:9990 -e WILDFLY_PASS="a_password" -v /opt/wildfly-deployments:/opt/wildfly/standalone/deployments/:rw piegsaj/wildfly
  1. Access WildFly

  • via http://<host-ip>:8080/ and http://<host-ip>:9990/

Administration

  • follow the server log: docker logs -f wf
  • stop and remove the Docker container: docker container stop wf && docker container rm wf
  • access the shell: docker container exec -it wf /bin/bash
  • access CLI: docker container exec -it wf /opt/wildfly/bin/jboss-cli.sh -c -u=admin -p=a_password
  • run once in --admin-only mode: docker container exec wf touch /opt/wildfly/ADMIN_ONLY_MODE && docker container restart wf

Contribute

The source is available on GitHub. Please report any issues.

wildfly's People

Contributors

gru-bpalermo avatar jenspiegsa avatar

Stargazers

 avatar  avatar  avatar

Watchers

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