release rc2.1.18

This commit is contained in:
qiaofeng1227 2024-12-17 14:21:43 +08:00
parent e6bdb09f8f
commit c9ef887b4d
6 changed files with 13 additions and 5 deletions

View File

@ -1,4 +1,5 @@
### enhancement: ### enhancement:
- Upgrade access to the Websoft9 platform from HTTP to HTTPS #566
- cockpit upgradeport change to 9090 when linux upgrage #556 - cockpit upgradeport change to 9090 when linux upgrage #556
- upgrade error at CentOS Stream #554 - upgrade error at CentOS Stream #554
- Optimize install_docker.sh #547 - Optimize install_docker.sh #547

View File

@ -1,5 +1,5 @@
# docs: https://cockpit-project.org/guide/latest/cockpit.conf.5.html # docs: https://cockpit-project.org/guide/latest/cockpit.conf.5.html
[WebService] [WebService]
AllowUnencrypted = true #AllowUnencrypted = true
LoginTitle= Websoft9 - Linux AppStore LoginTitle= Websoft9 - Linux AppStore

View File

@ -1,4 +1,4 @@
APPHUB_VERSION=0.1.6 APPHUB_VERSION=0.1.6
DEPLOYMENT_VERSION=2.20.3 DEPLOYMENT_VERSION=2.20.3
GIT_VERSION=1.21.9 GIT_VERSION=1.21.9
PROXY_VERSION=2.11.3 PROXY_VERSION=2.11.3-rc9

View File

@ -5,7 +5,7 @@
FROM jc21/nginx-proxy-manager:2.11.3 FROM jc21/nginx-proxy-manager:2.11.3
LABEL maintainer="Websoft9<help@websoft9.com>" LABEL maintainer="Websoft9<help@websoft9.com>"
LABEL version="2.11.3" LABEL version="2.11.3-rc9"
COPY README.md /data/nginx/README.md COPY README.md /data/nginx/README.md
RUN mkdir /data/nginx/custom RUN mkdir /data/nginx/custom

View File

@ -58,12 +58,19 @@ set_Firewalld(){
firewall-cmd --reload 2>/dev/nul firewall-cmd --reload 2>/dev/nul
} }
# when websoft9 restart, sync cockpit port # when websoft9 restart, sync cockpit port and ssl
on_change on_change
cp -r /etc/cockpit/ws-certs.d/* /var/lib/docker/volumes/websoft9_nginx_data/_data/custom_ssl/
# monitor /lib/systemd/system/cockpit.socket and config.ini, make sure config.ini port is the same with cockpit.socket # monitor /lib/systemd/system/cockpit.socket and config.ini, make sure config.ini port is the same with cockpit.socket
inotifywait -e modify,attrib -m $FILES | while read PATH EVENT FILE; do inotifywait -e modify,attrib -m $FILES | while read PATH EVENT FILE; do
echo "Set cockpit port by config.ini..." echo "Set cockpit port by config.ini..."
export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:$PATH
on_change on_change
done
# monitor /etc/cockpit/ws-certs.d and copy files to /var/lib/docker/volumes/websoft9_nginx_data/_data/custom_ssl
inotifywait -e create,modify,delete -m /etc/cockpit/ws-certs.d | while read PATH EVENT FILE; do
echo "Copying files from /etc/cockpit/ws-certs.d to /var/lib/docker/volumes/websoft9_nginx_data/_data/custom_ssl..."
cp -r /etc/cockpit/ws-certs.d/* /var/lib/docker/volumes/websoft9_nginx_data/_data/custom_ssl/
done done

View File

@ -1,5 +1,5 @@
{ {
"version": "2.1.17", "version": "2.1.18-rc1",
"plugins": { "plugins": {
"portainer": "0.1.3", "portainer": "0.1.3",
"nginx": "0.1.0", "nginx": "0.1.0",