From 526396225be133b07b956231a43a9413fb95ad02 Mon Sep 17 00:00:00 2001 From: lonelymaddle <106317940+lonelymaddle@users.noreply.github.com> Date: Sat, 9 Aug 2025 02:57:33 +0800 Subject: [PATCH 1/3] Dockerfile --- Dockerfile | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 00df0c4..cbbb897 100644 --- a/Dockerfile +++ b/Dockerfile @@ -66,8 +66,6 @@ WORKDIR /var/www/bookstack # www-data USER 33 -VOLUME ["/var/www/bookstack/public/uploads","/var/www/bookstack/storage/uploads"] - ENV RUN_APACHE_USER=www-data \ RUN_APACHE_GROUP=www-data From 491100e17300591dddae97621162902d9ddf234d Mon Sep 17 00:00:00 2001 From: lonelymaddle <106317940+lonelymaddle@users.noreply.github.com> Date: Sat, 9 Aug 2025 12:13:06 +0800 Subject: [PATCH 2/3] docker-entrypoint.sh --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 7d5dea2..91bfbfe 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -16,7 +16,7 @@ check_vars_exist() { # Split out host and port from DB_HOST env variable IFS=":" read -r DB_HOST_NAME DB_PORT <<< "$DB_HOST" -DB_PORT=${DB_PORT:-3306} +DB_PORT=${DB_PORT:-5432} # Ensure there is no local .env file if [ -f ".env" ]; then From 2c72c5c22f21f7af5381f64204e66823c52c4e3a Mon Sep 17 00:00:00 2001 From: lonelymaddle <106317940+lonelymaddle@users.noreply.github.com> Date: Sun, 10 Aug 2025 17:32:26 +0800 Subject: [PATCH 3/3] docker-entrypoint.sh --- docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh index 91bfbfe..7d5dea2 100755 --- a/docker-entrypoint.sh +++ b/docker-entrypoint.sh @@ -16,7 +16,7 @@ check_vars_exist() { # Split out host and port from DB_HOST env variable IFS=":" read -r DB_HOST_NAME DB_PORT <<< "$DB_HOST" -DB_PORT=${DB_PORT:-5432} +DB_PORT=${DB_PORT:-3306} # Ensure there is no local .env file if [ -f ".env" ]; then