You will need to generate this with docker run -it --rm --entrypoint /bin/bash lscr.io/linuxserver/bookstack:latest appkey - DB_HOST=bookstack_db # 注意:这里应与数据库服务名一致(不是容器名) - DB_PORT=3306 - DB_USERNAME=book
docker run -it --rm --entrypoint /bin/bash ghcr.io/linuxserver/bookstack:latest appkey 1. 例如: base64:w+nAsQLJ1Q/EPxIx5JXXnJ/USqOG/cR21vIGvyFLIeU= 1. 准备一个配置文件docker-compose.yml --- services: bookstack: image: ghcr.io/linuxserver/bookstack container_name: bookstack enviro...
# APP_KEY=base64:v2qr11Dmf+wWw9j6j09udZPhSHJHw9lZ2xA7dz24YPA= EOF Step3.容器docker-compose.yaml 代码语言:javascript 代码运行次数:0 运行 AI代码解释 version: "3.0" services: bookstack: image: linuxserver/bookstack container_name: bookstack env_file: - ./.env volumes: - /app/bookstack/...
-e APP_KEY=base64:C4MCxJYaoUMj6Rpn2cMmHyycBlU0hizsoDEbOO7w2LQ=:设置 BookStack 会话加密密钥,使用ocker run -it --rm --entrypoint /bin/bash linuxserver/bookstack:latest appkey可以生成一个。 TZ=Asia/Shanghai:指定时区,中国的就用这个即可。 -e DB_HOST=bookstack_db:数据库主机名,如果使用外...
参考:https://www.bookstackapp.com/docs/admin/ldap-auth/ 四、备份与恢复 1. 备份 (1) 数据库备份参考:MySQL Backup (2) 文件备份: a. .env: 配置文件; b. public/uploads: 用户上传的图片; c. storage/uploads: 用户上传的附件; 将文件压缩打包: ...
services: bookstack: image: lscr.io/linuxserver/bookstack:latest container_name: bookstack environment: - PUID=1000 - PGID=1000 - TZ=Asia/Shanghai - APP_URL=http://192.168.102.129:6875 - APP_KEY= - DB_HOST=bookstack_db # 注意:这里应与数据库服务名一致(不是容器名) - DB_PORT=3306 - ...
Config & Administration- The introduction of multi-factor authentication brings the first use of encryption in the platform. This uses theAPP_KEYvalue in your.envfile. Ensure you have this stored safely since it would be required if you ever restore/migrate your instance to another system. ...
docker run -d --net bookstack_nw \ -e DB_HOST=bookstack_db:3306 \ -e DB_DATABASE=bookstack \ -e DB_USERNAME=bookstack \ -e DB_PASSWORD=secret \ -e APP_URL=http://localhost:8080 \ -e APP_KEY=SomeRandomStringWith32Characters \ -p 8080:8080 \ --name="bookstack_25.2.4" \ solid...
Besides Proxmox, other home server operating systems such as YunoHost and Unraid may include BookStack containers in their app stores. Depending on your OS, you may have to manually enter the port number, app key, and user credentials before you can gain access to the BookStack web UI. ...
const key = 'bsglossary:' + path; const storageVal = window.localStorage.getItem(key); if (storageVal) { return JSON.parse(storageVal); } let resp = null; try { resp = await window.$http.get(path); } catch (err) { ...