Merge pull request #126 from linuxserver/jre21

This commit is contained in:
Adam 2025-02-12 21:16:47 +00:00 committed by GitHub
commit 6a6235e77e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 8 additions and 4 deletions

0
.editorconfig Executable file → Normal file
View file

0
.github/CONTRIBUTING.md vendored Executable file → Normal file
View file

0
.github/FUNDING.yml vendored Executable file → Normal file
View file

0
.github/ISSUE_TEMPLATE/config.yml vendored Executable file → Normal file
View file

0
.github/ISSUE_TEMPLATE/issue.bug.yml vendored Executable file → Normal file
View file

0
.github/ISSUE_TEMPLATE/issue.feature.yml vendored Executable file → Normal file
View file

0
.github/workflows/call_issue_pr_tracker.yml vendored Executable file → Normal file
View file

0
.github/workflows/call_issues_cron.yml vendored Executable file → Normal file
View file

0
.github/workflows/external_trigger.yml vendored Executable file → Normal file
View file

0
.github/workflows/external_trigger_scheduler.yml vendored Executable file → Normal file
View file

0
.github/workflows/greetings.yml vendored Executable file → Normal file
View file

0
.github/workflows/package_trigger_scheduler.yml vendored Executable file → Normal file
View file

View file

@ -19,7 +19,7 @@ RUN \
apt-get install --no-install-recommends -y \
jsvc \
logrotate \
openjdk-17-jre-headless \
openjdk-21-jre-headless \
unzip && \
echo "**** install unifi ****" && \
if [ -z ${UNIFI_VERSION+x} ]; then \

View file

@ -19,7 +19,7 @@ RUN \
apt-get install --no-install-recommends -y \
jsvc \
logrotate \
openjdk-17-jre-headless \
openjdk-21-jre-headless \
unzip && \
echo "**** install unifi ****" && \
if [ -z ${UNIFI_VERSION+x} ]; then \

0
LICENSE Executable file → Normal file
View file

View file

@ -64,7 +64,7 @@ After setup, the web UI is available at https://ip:8443. The application can be
### Setting Up Your External Database
Starting with version 8.1 of Unifi Network Application, mongodb 3.6 through 7.0 are supported.
Starting with version 8.1 of Unifi Network Application, mongodb 3.6 through 7.0 are supported. Starting with version 9.0 of Unifi Network Application, mongodb 8.0 is also supported.
**Make sure you pin your database image version and do not use `latest`, as mongodb does not support automatic upgrades between major versions.**
@ -418,6 +418,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **12.02.25:** - Bump JRE to 21.
* **11.08.24:** - **Important**: The mongodb init instructions have been updated to enable auth ([RBAC](https://www.mongodb.com/docs/manual/core/authorization/#role-based-access-control)). We have been notified that if RBAC is not enabled, the official mongodb container allows remote access to the db contents over port 27017 without credentials. If you set up the mongodb container with the old instructions we provided, you should not map or expose port 27017. If you would like to enable auth, the easiest way is to create new instances of both unifi and mongodb with the new instructions and restore unifi from a backup.
* **11.08.24:** - Rebase to Ubuntu Noble.
* **04.03.24:** - Install from zip package instead of deb.

View file

@ -43,6 +43,8 @@ opt_param_ports:
- {external_port: "8880", internal_port: "8880", port_desc: "Unifi guest portal HTTP redirect port"}
- {external_port: "6789", internal_port: "6789", port_desc: "For mobile throughput test"}
- {external_port: "5514", internal_port: "5514/udp", port_desc: "Remote syslog port"}
readonly_supported: false
nonroot_supported: false
# application setup block
app_setup_block_enabled: true
app_setup_block: |
@ -52,7 +54,7 @@ app_setup_block: |
### Setting Up Your External Database
Starting with version 8.1 of Unifi Network Application, mongodb 3.6 through 7.0 are supported.
Starting with version 8.1 of Unifi Network Application, mongodb 3.6 through 7.0 are supported. Starting with version 9.0 of Unifi Network Application, mongodb 8.0 is also supported.
**Make sure you pin your database image version and do not use `latest`, as mongodb does not support automatic upgrades between major versions.**
@ -176,6 +178,7 @@ init_diagram: |
"unifi-network-application:latest" <- Base Images
# changelog
changelogs:
- {date: "12.02.25:", desc: "Bump JRE to 21."}
- {date: "11.08.24:", desc: "**Important**: The mongodb init instructions have been updated to enable auth ([RBAC](https://www.mongodb.com/docs/manual/core/authorization/#role-based-access-control)). We have been notified that if RBAC is not enabled, the official mongodb container allows remote access to the db contents over port 27017 without credentials. If you set up the mongodb container with the old instructions we provided, you should not map or expose port 27017. If you would like to enable auth, the easiest way is to create new instances of both unifi and mongodb with the new instructions and restore unifi from a backup."}
- {date: "11.08.24:", desc: "Rebase to Ubuntu Noble."}
- {date: "04.03.24:", desc: "Install from zip package instead of deb."}