HUB
Sign inSign up

rrssoftware/wildfly

By rrssoftware

•Updated almost 2 years ago

WildFly Docker image (based on image quay.io/wildfly/wildfly)

Image
1

538

rrssoftware/wildfly repository overview

⁠WildFly Docker image

⁠Release Notes
  • 26.1.1.Final
    • driver mssql-jdbc-9.4.1.jre11.jar
  • 26.1.3.Final
    • driver postgresql-42.5.4.jar
    • Datasource DS_RRSSW is based on DB_CONNECTION_URL environment variable (MSSQL or PostgreSQL)
⁠How to use this image

Run the Docker image:

docker run  -p 8080:8080 -p 9990:9990 \
     -e "DB_CONNECTION_URL=..." \
     -e "DB_USERNAME=..." \
     -e "DB_PASSWORD=..." \
     -e "RRSSW_ADMIN_PASSWD=..." \
  rrssoftware/wildfly

Run using certificate (pfx) and https

docker run -v "~/secrets/certificate.pfx:/opt/jboss/certificate.pfx" -p 8443:8443 -p 9990:9990 \
     -e "DB_CONNECTION_URL=..." \
     -e "DB_USERNAME=..." \
     -e "DB_PASSWORD=..." \
     -e "RRSSW_ADMIN_PASSWD=..." \
     -e "CERTIFICATE_PASSWD=..." \
  rrssoftware/wildfly

Using docker-compose.yml

version: "3.8"
services:
  wildfly:
    image: rrssoftware/wildfly
    ports:
      - 8443:8443
      - 9990:9990
    volumes:
      - "~/secrets/certificate.pfx:/opt/jboss/certificate.pfx"
    environment:
      - DB_CONNECTION_URL
      - DB_USERNAME
      - DB_PASSWORD
      - CERTIFICATE_PASSWD
      - RRSSW_ADMIN_PASSWD
⁠Environment variables
VariableDescriptionExample
DB_CONNECTION_URLJDBC string for DS_RRSSW datasourcejdbc:sqlserver://localhost:1433;databaseName=dev
DB_USERNAMEdatabase connection username
DB_USERNAMEuser password
RRSSW_ADMIN_PASSWDPassword to access Wildfly administration console
CERTIFICATE_PASSWDCertificate password (to create key store)
JAVA_OPTSJVM memory customizations-Xms32m -Xmx2G
⁠Wildfly administration console
  • username: rrssoftware
  • password: [defined in RRSSW_ADMIN_PASSWD environment variable]
http://localhost:9990/console/index.html
⁠Customizations

This image contains a entrypoint script to:

  • Add user to access administration console (if password environment variable is set)
  • Enable SSL (HTTPS server) using PFX certificate (if the file and password are set)
  • Enable app deployment, removing ".skipdeploy" marker files on standalone/deployments directory
⁠Enable debug mode
  • Add instructions below in JAVA_OPTS environment variable (in addition to memory settings)
JAVA_OPTS="$JAVA_OPTS -Xdebug -Xrunjdwp:transport=dt_socket,address=*:8787,server=y,suspend=n"

Tag summary

Content type

Image

Digest

sha256:e09371dca…

Size

480.2 MB

Last updated

almost 2 years ago

docker pull rrssoftware/wildfly:26.1.3.Final