From 2ccb481dd809202587332749493c2159a631cfcc Mon Sep 17 00:00:00 2001 From: SelfhostedPro Date: Fri, 5 Jun 2020 08:42:54 -0700 Subject: [PATCH 1/4] troubleshooting --- Template/template.json | 1 - 1 file changed, 1 deletion(-) diff --git a/Template/template.json b/Template/template.json index 398303a..991fe1d 100644 --- a/Template/template.json +++ b/Template/template.json @@ -3229,7 +3229,6 @@ { "type": 2, "title": "bookstack", - "name": "bookstack", "description": "Bookstack is a free and open source Wiki designed for creating beautiful documentation. Feautring a simple, but powerful WYSIWYG editor it allows for teams to create detailed and useful documentation with ease.", "logo": "https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Images/bookstack2.png", "categories": [ From 301c5eab535325a76f9967de597bfdd12c3208f6 Mon Sep 17 00:00:00 2001 From: SelfhostedPro Date: Fri, 5 Jun 2020 08:44:37 -0700 Subject: [PATCH 2/4] troubleshooting --- Template/template.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Template/template.json b/Template/template.json index 991fe1d..8c2412a 100644 --- a/Template/template.json +++ b/Template/template.json @@ -3227,7 +3227,7 @@ ] }, { - "type": 2, + "type": 3, "title": "bookstack", "description": "Bookstack is a free and open source Wiki designed for creating beautiful documentation. Feautring a simple, but powerful WYSIWYG editor it allows for teams to create detailed and useful documentation with ease.", "logo": "https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Images/bookstack2.png", From 5795304669540380eba5dfdc07247327a0500e9d Mon Sep 17 00:00:00 2001 From: SelfhostedPro Date: Fri, 5 Jun 2020 08:50:58 -0700 Subject: [PATCH 3/4] troubleshooting --- Template/Stack/bookstack.yml | 2 +- Template/template.json | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Template/Stack/bookstack.yml b/Template/Stack/bookstack.yml index 678fc7b..6b80c47 100644 --- a/Template/Stack/bookstack.yml +++ b/Template/Stack/bookstack.yml @@ -14,7 +14,7 @@ services: volumes: - /portainer/Files/AppData/Bookstack/Data:/config ports: - - 6875:80 + - ${PORT}:80 restart: unless-stopped depends_on: - bookstack_db diff --git a/Template/template.json b/Template/template.json index 8c2412a..0fb29ac 100644 --- a/Template/template.json +++ b/Template/template.json @@ -3253,12 +3253,16 @@ "preset": true }, { - "name": "Database_Password", - "label": "Database Password" + "name": "DATABASE_PASSWORD", + "label": "DATABASE_PASSWORD" }, { "name": "MYSQL_ROOT_PASSWORD", "label": "MYSQL_ROOT_PASSWORD" + }, + { + "name": "PORT", + "label": "PORT" } ] } From 92503b22f781cd07ef482cebb5e1c9652fbeaec1 Mon Sep 17 00:00:00 2001 From: SelfhostedPro Date: Fri, 5 Jun 2020 08:54:51 -0700 Subject: [PATCH 4/4] troubleshooting --- Template/Stack/bookstack.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Template/Stack/bookstack.yml b/Template/Stack/bookstack.yml index 6b80c47..a44f27d 100644 --- a/Template/Stack/bookstack.yml +++ b/Template/Stack/bookstack.yml @@ -9,7 +9,7 @@ services: - PGID=${PGID} - DB_HOST=bookstack_db - DB_USER=bookstack - - DB_PASS=${Database_Password} + - DB_PASS=${DATABASE_PASSWORD} - DB_DATABASE=bookstackapp volumes: - /portainer/Files/AppData/Bookstack/Data:/config @@ -28,7 +28,7 @@ services: - TZ=${Timezone} - MYSQL_DATABASE=bookstackapp - MYSQL_USER=bookstack - - MYSQL_PASSWORD=${Database_Password} + - MYSQL_PASSWORD=${DATABASE_PASSWORD} volumes: - /portainer/Files/AppData/Bookstack/DB:/config restart: unless-stopped \ No newline at end of file