diff --git a/stacks/bookstack.yml b/stacks/bookstack.yml index ab2fe445..8a13b982 100644 --- a/stacks/bookstack.yml +++ b/stacks/bookstack.yml @@ -7,6 +7,7 @@ services: image: ghcr.io/linuxserver/bookstack:${VERSION:-latest} environment: - APP_URL=${SCHEME:-https}://${DOMAIN:-bookstack.localhost} + - APP_VIEWS_BOOKS=${APP_VIEWS_BOOKS:-grid} - DB_CONNECTION=mysql - DB_HOST=mariadb - DB_PORT=3306 diff --git a/templates.json b/templates.json index c56a70d9..e60c293f 100644 --- a/templates.json +++ b/templates.json @@ -1890,6 +1890,36 @@ "type": "password", "value": "password", "disabled": true + }, + { + "name": "ALLOW_ROBOTS", + "label": "Autoriser les robots", + "type": "select", + "select": [ + { + "text": "true", + "value": "true" + }, + { + "text": "false", + "value": "false" + } + ] + }, + { + "name": "APP_VIEWS_BOOKS", + "label": "Vue des livres par défaut", + "type": "select", + "select": [ + { + "text": "Grille", + "value": "grid" + }, + { + "text": "Liste", + "value": "list" + } + ] } ] },