Sign inSign up

aiqu/wildfly

By aiqu

•Updated over 7 years ago

Image
0

312

aiqu/wildfly repository overview

⁠dockerfile-jboss-wildfly

Dockerfile for Jboss Wildfly, with some extra features Versioning of this dockerfile mirrors the Jboss/Wildfly releases

⁠Setting admin username & password

Set environmental variables to configure admin username and password:

  • ADMIN_USER
  • ADMIN_SECRET

These variables will be unset in the container once consumed

⁠Adding custom startup-scripts

Any bash-scripts ending in ".sh" added to ${SCRIPT_DIR} (e.g. bind-mounting) will be executet in alphabetic order (as "jboss" user)

Running 'dos2unix' on all scripts, due to issues with mounting files from windows filesystem

Default script-folder: "/opt/scripts"

⁠Examples

⁠Set admin username and password
docker run --rm -it -p 9990:9990 -p 8080:8080 -e ADMIN_USER=admin -e ADMIN_SECRET=superSecret aiqu/wildfly:latest
⁠Custom script(s)
docker run --rm -it -p 9990:9990 -p 8080:8080 -e SCRIPT_DIR=/opt/scripts -v ./scripts:/opt/scripts aiqu/wildfly:latest

Tag summary

Content type

Image

Digest

Size

362.5 MB

Last updated

over 7 years ago

docker pull aiqu/wildfly