From 75391562db99f8de76463a1bf7ae5c23ea36cf04 Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Tue, 16 Jan 2024 13:57:45 +0100 Subject: [PATCH] [bitnami/wildfly] Release 26.1.3-debian-11-r206 (#54800) Signed-off-by: Bitnami Containers --- bitnami/wildfly/26/debian-11/Dockerfile | 4 +- .../debian-11/prebuildfs/usr/sbin/run-script | 2 +- bitnami/wildfly/README.md | 46 ++++++++++++++++--- 3 files changed, 42 insertions(+), 10 deletions(-) diff --git a/bitnami/wildfly/26/debian-11/Dockerfile b/bitnami/wildfly/26/debian-11/Dockerfile index 798431bf6128..3b0b0efa2995 100644 --- a/bitnami/wildfly/26/debian-11/Dockerfile +++ b/bitnami/wildfly/26/debian-11/Dockerfile @@ -8,10 +8,10 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2023-12-17T11:08:01Z" \ + org.opencontainers.image.created="2024-01-16T11:54:59Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="26.1.3-debian-11-r205" \ + org.opencontainers.image.ref.name="26.1.3-debian-11-r206" \ org.opencontainers.image.title="wildfly" \ org.opencontainers.image.vendor="VMware, Inc." \ org.opencontainers.image.version="26.1.3" diff --git a/bitnami/wildfly/26/debian-11/prebuildfs/usr/sbin/run-script b/bitnami/wildfly/26/debian-11/prebuildfs/usr/sbin/run-script index b7a5bf1e50bf..4ca0f897277e 100755 --- a/bitnami/wildfly/26/debian-11/prebuildfs/usr/sbin/run-script +++ b/bitnami/wildfly/26/debian-11/prebuildfs/usr/sbin/run-script @@ -10,7 +10,7 @@ fi script=$1 exit_code="${2:-96}" -fail_if_not_present="${3:-y}" +fail_if_not_present="${3:-n}" if test -f "$script"; then sh $script diff --git a/bitnami/wildfly/README.md b/bitnami/wildfly/README.md index a5c49853f882..1d66625401d8 100644 --- a/bitnami/wildfly/README.md +++ b/bitnami/wildfly/README.md @@ -13,13 +13,6 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema docker run --name wildfly bitnami/wildfly:latest ``` -### Docker Compose - -```console -curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/wildfly/docker-compose.yml > docker-compose.yml -docker-compose up -d -``` - ## Why use Bitnami Images? * Bitnami closely tracks upstream source changes and promptly publishes new versions of this image using our automated systems. @@ -178,6 +171,39 @@ $ docker exec -it wildfly-server \ ## Configuration +### Environment variables + +#### Customizable environment variables + +| Name | Description | Default Value | +|----------------------------|-----------------------------------------------------------------------------------------------|-----------------------------------------| +| `WILDFLY_CONF_FILE` | Path to the WildFly configuration file. | `${WILDFLY_CONF_DIR}/standalone.xml` | +| `WILDFLY_MOUNTED_CONF_DIR` | Directory for including custom configuration files (that override the default generated ones) | `${WILDFLY_VOLUME_DIR}/configuration` | +| `WILDFLY_DATA_DIR` | WildFly data directory. | `${WILDFLY_VOLUME_DIR}/standalone/data` | +| `WILDFLY_USERNAME` | WildFly admin username. | `user` | +| `JAVA_HOME` | Java Home directory. | `${BITNAMI_ROOT_DIR}/java` | + +#### Read-only environment variables + +| Name | Description | Value | +|---------------------------------------------|----------------------------------------------------------------------------------|------------------------------------------------| +| `WILDFLY_BASE_DIR` | WildFly installation directory. | `${BITNAMI_ROOT_DIR}/wildfly` | +| `WILDFLY_HOME_DIR` | WildFly user home directory. | `/home/wildfly` | +| `WILDFLY_BIN_DIR` | WildFly directory for binary executables. | `${WILDFLY_BASE_DIR}/bin` | +| `WILDFLY_CONF_DIR` | WildFly server configuration directory. | `${WILDFLY_BASE_DIR}/standalone/configuration` | +| `WILDFLY_LOGS_DIR` | WildFly directory for log files. | `${WILDFLY_BASE_DIR}/standalone/log` | +| `WILDFLY_TMP_DIR` | WildFly directory for runtime temporary files. | `${WILDFLY_BASE_DIR}/standalone/tmp` | +| `WILDFLY_PID_FILE` | Path to the WildFly PID file. | `${WILDFLY_TMP_DIR}/wildfly.pid` | +| `WILDFLY_VOLUME_DIR` | WildFly directory for mounted configuration files. | `${BITNAMI_VOLUME_DIR}/wildfly` | +| `WILDFLY_DAEMON_USER` | WildFly system user. | `wildfly` | +| `WILDFLY_DAEMON_GROUP` | WildFly system group. | `wildfly` | +| `WILDFLY_DEFAULT_SERVER_LISTEN_ADDRESS` | Default WildFLY SERVER listen address to enable at build time. | `0.0.0.0` | +| `WILDFLY_DEFAULT_MANAGEMENT_LISTEN_ADDRESS` | Default WildFLY MANAGEMENT listen address to enable at build time. | `127.0.0.1` | +| `WILDFLY_DEFAULT_HTTP_PORT_NUMBER` | Default WildFLY HTTP port number to enable at build time. | `8080` | +| `WILDFLY_DEFAULT_AJP_PORT_NUMBER` | Default WildFLY AJP port number to enable at build time. | `8009` | +| `WILDFLY_DEFAULT_MANAGEMENT_PORT_NUMBER` | Default WildFLY MANAGEMENT port number to enable at build time. | `9990` | +| `LAUNCH_JBOSS_IN_BACKGROUND` | Ensure signals are forwarded to the JVM process correctly for graceful shutdown. | `true` | + ### Creating a custom user By default, a management user named `user` is created with the default password `bitnami`. Passing the `WILDFLY_PASSWORD` environment variable when running the image for the first time will set the password of this user to the value of `WILDFLY_PASSWORD`. @@ -327,6 +353,12 @@ Consequences: * All volumes have been merged at `/bitnami/wildfly`. Now you only need to mount a single volume at `/bitnami/wildfly` for persistence. * The logs are always sent to the `stdout` and are no longer collected in the volume. +## Using `docker-compose.yaml` + +Please be aware this file has not undergone internal testing. Consequently, we advise its use exclusively for development or testing purposes. For production-ready deployments, we highly recommend utilizing its associated [Bitnami Helm chart](https://github.com/bitnami/charts/tree/main/bitnami/wildfly). + +If you detect any issue in the `docker-compose.yaml` file, feel free to report it or contribute with a fix by following our [Contributing Guidelines](https://github.com/bitnami/containers/blob/main/CONTRIBUTING.md). + ## Contributing We'd love for you to contribute to this container. You can request new features by creating an [issue](https://github.com/bitnami/containers/issues) or submitting a [pull request](https://github.com/bitnami/containers/pulls) with your contribution.