From 8a67664e7a937c6aa603a9b0477561b9af7abb0e Mon Sep 17 00:00:00 2001 From: Bitnami Bot Date: Wed, 17 Jan 2024 17:28:58 +0100 Subject: [PATCH] [bitnami/appsmith] Release 1.9.60-debian-11-r0 (#54844) Signed-off-by: Bitnami Containers --- bitnami/appsmith/1/debian-11/Dockerfile | 16 ++-- .../opt/bitnami/.bitnami_components.json | 8 +- bitnami/appsmith/1/debian-11/tags-info.yaml | 2 +- bitnami/appsmith/README.md | 92 ++++++++++++------- 4 files changed, 70 insertions(+), 48 deletions(-) diff --git a/bitnami/appsmith/1/debian-11/Dockerfile b/bitnami/appsmith/1/debian-11/Dockerfile index 9da2586a02c5..4fcd041d9db8 100644 --- a/bitnami/appsmith/1/debian-11/Dockerfile +++ b/bitnami/appsmith/1/debian-11/Dockerfile @@ -7,13 +7,13 @@ ARG TARGETARCH LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \ org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \ - org.opencontainers.image.created="2024-01-08T15:48:16Z" \ + org.opencontainers.image.created="2024-01-17T15:42:11Z" \ org.opencontainers.image.description="Application packaged by VMware, Inc" \ org.opencontainers.image.licenses="Apache-2.0" \ - org.opencontainers.image.ref.name="1.9.58-debian-11-r0" \ + org.opencontainers.image.ref.name="1.9.60-debian-11-r0" \ org.opencontainers.image.title="appsmith" \ org.opencontainers.image.vendor="VMware, Inc." \ - org.opencontainers.image.version="1.9.58" + org.opencontainers.image.version="1.9.60" ENV HOME="/" \ OS_ARCH="${TARGETARCH:-amd64}" \ @@ -27,13 +27,13 @@ RUN install_packages acl ca-certificates curl gettext libbz2-1.0 libcom-err2 lib RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ ; \ COMPONENTS=( \ "python-3.11.7-2-linux-${OS_ARCH}-debian-11" \ - "wait-for-port-1.0.7-4-linux-${OS_ARCH}-debian-11" \ - "render-template-1.0.6-4-linux-${OS_ARCH}-debian-11" \ + "wait-for-port-1.0.7-5-linux-${OS_ARCH}-debian-11" \ + "render-template-1.0.6-5-linux-${OS_ARCH}-debian-11" \ "node-18.19.0-0-linux-${OS_ARCH}-debian-11" \ - "nginx-1.25.3-1-linux-${OS_ARCH}-debian-11" \ + "nginx-1.25.3-2-linux-${OS_ARCH}-debian-11" \ "mongodb-shell-2.1.1-0-linux-${OS_ARCH}-debian-11" \ "java-17.0.9-11-6-linux-${OS_ARCH}-debian-11" \ - "appsmith-1.9.58-0-linux-${OS_ARCH}-debian-11" \ + "appsmith-1.9.60-0-linux-${OS_ARCH}-debian-11" \ ) ; \ for COMPONENT in "${COMPONENTS[@]}"; do \ if [ ! -f "${COMPONENT}.tar.gz" ]; then \ @@ -51,7 +51,7 @@ RUN chmod g+rwX /opt/bitnami COPY rootfs / RUN /opt/bitnami/scripts/nginx/postunpack.sh RUN /opt/bitnami/scripts/appsmith/postunpack.sh -ENV APP_VERSION="1.9.58" \ +ENV APP_VERSION="1.9.60" \ BITNAMI_APP_NAME="appsmith" \ NGINX_HTTPS_PORT_NUMBER="" \ NGINX_HTTP_PORT_NUMBER="" \ diff --git a/bitnami/appsmith/1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json b/bitnami/appsmith/1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json index 678ee5b7f6b7..d096b482c79b 100644 --- a/bitnami/appsmith/1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json +++ b/bitnami/appsmith/1/debian-11/prebuildfs/opt/bitnami/.bitnami_components.json @@ -3,7 +3,7 @@ "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "1.9.58-0" + "version": "1.9.60-0" }, "java": { "arch": "amd64", @@ -21,7 +21,7 @@ "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "1.25.3-1" + "version": "1.25.3-2" }, "node": { "arch": "amd64", @@ -39,12 +39,12 @@ "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "1.0.6-4" + "version": "1.0.6-5" }, "wait-for-port": { "arch": "amd64", "distro": "debian-11", "type": "NAMI", - "version": "1.0.7-4" + "version": "1.0.7-5" } } \ No newline at end of file diff --git a/bitnami/appsmith/1/debian-11/tags-info.yaml b/bitnami/appsmith/1/debian-11/tags-info.yaml index 3f99841ee544..78bf16fae8bb 100644 --- a/bitnami/appsmith/1/debian-11/tags-info.yaml +++ b/bitnami/appsmith/1/debian-11/tags-info.yaml @@ -1,5 +1,5 @@ rolling-tags: - "1" - 1-debian-11 -- 1.9.58 +- 1.9.60 - latest diff --git a/bitnami/appsmith/README.md b/bitnami/appsmith/README.md index 675a0c78a236..2f76e75ba503 100644 --- a/bitnami/appsmith/README.md +++ b/bitnami/appsmith/README.md @@ -10,14 +10,7 @@ Trademarks: This software listing is packaged by Bitnami. The respective tradema ## TL;DR ```console -docker run -it --name appsmith bitnami/appsmith -``` - -### Docker Compose - -```console -curl -sSL https://raw.githubusercontent.com/bitnami/containers/main/bitnami/appsmith/docker-compose.yml > docker-compose.yml -docker-compose up -d +docker run -it --name appsmith bitnami/appsmith:latest ``` ## Why use Bitnami Images? @@ -105,6 +98,56 @@ docker-compose up appsmith ### Environment variables +#### Customizable environment variables + +| Name | Description | Default Value | +|---------------------------------|---------------------------------------------------------|-----------------------| +| `ALLOW_EMPTY_PASSWORD` | Allow an empty password. | `no` | +| `APPSMITH_USERNAME` | Appsmith default username. | `user` | +| `APPSMITH_PASSWORD` | Appsmith default password. | `bitnami` | +| `APPSMITH_EMAIL` | Appsmith default email. | `user@example.com` | +| `APPSMITH_MODE` | Appsmith service to run (can be backend, client or UI). | `backend` | +| `APPSMITH_ENCRYPTION_PASSWORD` | Appsmith database encryption password. | `bitnami123` | +| `APPSMITH_API_HOST` | Appsmith API host. | `appsmith-api` | +| `APPSMITH_API_HOST` | Appsmith API host. | `127.0.0.1` | +| `APPSMITH_API_PORT` | Appsmith API port. | `8080` | +| `APPSMITH_UI_HTTP_PORT` | Appsmith UI HTTP port. | `8080` | +| `APPSMITH_UI_HTTP_PORT` | Appsmith UI HTTP port. | `80` | +| `APPSMITH_UI_HTTPS_PORT` | Appsmith UI HTTPS port. | `8443` | +| `APPSMITH_UI_HTTPS_PORT` | Appsmith UI HTTPS port. | `443` | +| `APPSMITH_RTS_HOST` | Appsmith RTS port. | `appsmith-rts` | +| `APPSMITH_RTS_HOST` | Appsmith RTS port. | `127.0.0.1` | +| `APPSMITH_RTS_PORT` | Appsmith RTS port. | `8091` | +| `APPSMITH_DATABASE_HOST` | Database server hosts (comma-separated list). | `mongodb` | +| `APPSMITH_DATABASE_HOST` | Database server hosts (comma-separated list). | `127.0.0.1` | +| `APPSMITH_DATABASE_PORT_NUMBER` | Database server port. | `27017` | +| `APPSMITH_DATABASE_NAME` | Database name. | `bitnami_appsmith` | +| `APPSMITH_DATABASE_USER` | Database user name. | `bn_appsmith` | +| `APPSMITH_DATABASE_INIT_DELAY` | Time to wait before the database is actually ready. | `0` | +| `APPSMITH_REDIS_HOST` | Redis server host. | `redis` | +| `APPSMITH_REDIS_HOST` | Redis server host. | `127.0.0.1` | +| `APPSMITH_REDIS_PORT_NUMBER` | Redis server port. | `6379` | +| `APPSMITH_STARTUP_TIMEOUT` | Appsmith startup check timeout. | `120` | +| `APPSMITH_STARTUP_ATTEMPTS` | Appsmith startup check attempts. | `5` | +| `APPSMITH_DATA_TO_PERSIST` | Data to persist from installations. | `$APPSMITH_CONF_FILE` | + +#### Read-only environment variables + +| Name | Description | Value | +|-------------------------|-----------------------------------|------------------------------------| +| `APPSMITH_BASE_DIR` | Appsmith installation directory. | `${BITNAMI_ROOT_DIR}/appsmith` | +| `APPSMITH_VOLUME_DIR` | Appsmith volume directory. | `/bitnami/appsmith` | +| `APPSMITH_LOG_DIR` | Appsmith logs directory. | `${APPSMITH_BASE_DIR}/logs` | +| `APPSMITH_LOG_FILE` | Appsmith log file. | `${APPSMITH_LOG_DIR}/appsmith.log` | +| `APPSMITH_CONF_DIR` | Appsmith configuration directory. | `${APPSMITH_BASE_DIR}/conf` | +| `APPSMITH_CONF_FILE` | Appsmith configuration file. | `${APPSMITH_CONF_DIR}/docker.env` | +| `APPSMITH_TMP_DIR` | Appsmith temporary directory. | `${APPSMITH_BASE_DIR}/tmp` | +| `APPSMITH_PID_FILE` | Appsmith PID file. | `${APPSMITH_TMP_DIR}/appsmith.pid` | +| `APPSMITH_RTS_LOG_FILE` | Appsmith RTS log file. | `${APPSMITH_LOG_DIR}/rts.log` | +| `APPSMITH_RTS_PID_FILE` | Appsmith RTS PID file. | `${APPSMITH_TMP_DIR}/rts.pid` | +| `APPSMITH_DAEMON_USER` | Appsmith daemon system user. | `appsmith` | +| `APPSMITH_DAEMON_GROUP` | Appsmith daemon system group. | `appsmith` | + When you start the Appsmith image, you can adjust the configuration of the instance by passing one or more environment variables either on the docker-compose file or on the `docker run` command line. Please note that some variables are only considered when the container is started for the first time. If you want to add a new environment variable: * For docker-compose add the variable name and value under the application section in the [`docker-compose.yml`](https://github.com/bitnami/containers/blob/main/bitnami/appsmith/docker-compose.yml) file present in this repository: @@ -140,33 +183,6 @@ Appsmith supports three running modes: The running mode is defined via the `APPSMITH_MODE` environment variable. The possible values are `backend`, `rts` and `client`. -##### User and Site configuration - -* `APPSMITH_UI_HTTP_PORT`: Port used by the Client for HTTP. Default: **8080** -* `APPSMITH_USERNAME`: Appsmith application username. Default: **user** -* `APPSMITH_PASSWORD`: Appsmith application password. Default: **bitnami** -* `APPSMITH_EMAIL`: Appsmith application email. Default: **user@example.com** -* `APPSMITH_DATA_TO_PERSIST`: Space separated list of files and directories to persist. Use a space to persist no data: `" "`. Default: **"docker.env"** - -##### Salt and keys configuration - -Authentication unique keys and salts. Specify these values to prevent cookies from being invalidated when creating a new container or when using multiple containers to serve the same Appsmith instance. By default these values are generated randomly: - -* `APPSMITH_ENCRYPTION_PASSWORD`: Database encryption password. Default: **bitnami**. -* `APPSMITH_ENCRYPTION_SALT`: Database encryption salt. Default: **bitnami**. - -##### Database connection configuration - -* `APPSMITH_DATABASE_HOST`: Hostname for the MongoDB(TM) servers (comma separated). Default: **mongodb** -* `APPSMITH_DATABASE_PORT_NUMBER`: Port used by the MongoDB(TM) server. Default: **27017** -* `APPSMITH_DATABASE_NAME`: Database name that Appsmith will use to connect with the database. Default: **bitnami_appsmith** -* `APPSMITH_DATABASE_USER`: Database user that Appsmith will use to connect with the database. Default: **bn_appsmith** -* `APPSMITH_DATABASE_PASSWORD`: Database password that Appsmith will use to connect with the database. No defaults. -* `APPSMITH_REDIS_HOST`: Hostname for the Redis(TM) server. Default: **redis** -* `APPSMITH_REDIS_PORT_NUMBER`: Port used by the Redis(TM) server. Default: **6379** -* `APPSMITH_REDIS_PASSWORD`: Database password that Appsmith will use to connect with the database. No defaults. -* `ALLOW_EMPTY_PASSWORD`: It can be used to allow blank passwords. Default: **no** - ##### Connect Appsmith container to an existing database The Bitnami Appsmith container supports connecting the Appsmith application to an external database. This would be an example of using an external database for Appsmith. @@ -218,6 +234,12 @@ docker-compose logs wordpress You can configure the containers [logging driver](https://docs.docker.com/engine/admin/logging/overview/) using the `--log-driver` option if you wish to consume the container logs differently. In the default configuration docker uses the `json-file` driver. +## 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/appsmith). + +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 Docker image. 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.