Browse Source

Fix Bookstack adding APP_URL env (#272)

Rafael Blumberg 3 years ago
parent
commit
dc2077d9a1

+ 7 - 0
pi-hosted_template/template/portainer-v2.json

@@ -317,6 +317,13 @@
 					"name": "MYSQL_ROOT_PASSWORD"
 				},
 				{
+					"default": "http://192.168.X.Y:6875",
+					"label": "APP_URL",
+					"name": "APP_URL",
+					"description": "Address to access Bookstrap. If using a domain, add it here. If not set correctly the app will not be accessible"
+				},
+				{
+					"default": "6875",
 					"label": "PORT",
 					"name": "PORT"
 				}

+ 1 - 0
stack/bookstack.yml

@@ -7,6 +7,7 @@ services:
     environment:
       - PUID=${PUID}
       - PGID=${PGID}
+      - APP_URL=${APP_URL}
       - DB_HOST=bookstack_db
       - DB_USER=bookstack
       - DB_PASS=${DATABASE_PASSWORD}

+ 7 - 0
template/portainer-v2-arm32.json

@@ -317,6 +317,13 @@
 					"name": "MYSQL_ROOT_PASSWORD"
 				},
 				{
+					"default": "http://192.168.X.Y:6875",
+					"label": "APP_URL",
+					"name": "APP_URL",
+					"description": "Address to access Bookstrap. If using a domain, add it here. If not set correctly the app will not be accessible"
+				},
+				{
+					"default": "6875",
 					"label": "PORT",
 					"name": "PORT"
 				}

+ 7 - 0
template/portainer-v2-arm64.json

@@ -317,6 +317,13 @@
 					"name": "MYSQL_ROOT_PASSWORD"
 				},
 				{
+					"default": "http://192.168.X.Y:6875",
+					"label": "APP_URL",
+					"name": "APP_URL",
+					"description": "Address to access Bookstrap. If using a domain, add it here. If not set correctly the app will not be accessible"
+				},
+				{
+					"default": "6875",
 					"label": "PORT",
 					"name": "PORT"
 				}