User Tools

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
services:bookstack [2024/06/03 12:38] willyservices:bookstack [Unknown date] (current) – removed - external edit (Unknown date) 127.0.0.1
Line 1: Line 1:
-====== BookStack ====== 
- 
-[[https://www.bookstackapp.com|BookStack]] is... 
- 
- 
- 
-===== Installation ===== 
- 
-Create user 
-<code bash> 
-useradd -d /data/daemons/bookstack -m bookstack 
-</code> 
- 
-Using images from [[https://github.com/linuxserver/docker-bookstack|Linux Server guys]] 
- 
-<file docker-compose.yml> 
---- 
-services: 
-  bookstack: 
-    image: lscr.io/linuxserver/bookstack 
-    container_name: bookstack 
-    environment: 
-#      - PUID=1050 
-#      - PGID=1050 
-      - TZ=Europe/Rome 
-      - APP_URL=https://mydomain.com/bookstack 
-      - DB_HOST=bookstack_db 
-      - DB_PORT=3306 
-      - DB_USER=bookstack 
-      - DB_PASS=<your password> 
-      - DB_DATABASE=bookstackapp 
-    volumes: 
-      - /deposito/bookstack:/config 
-    ports: 
-      - 6875:80 
-    depends_on: 
-      - bookstack_db 
-    networks: 
-      - bookstack-net 
- 
-  bookstack_db: 
-    image: lscr.io/linuxserver/mariadb 
-    container_name: bookstack_db 
-    environment: 
-#      - PUID=1050 
-#      - PGID=1050 
-      - TZ=Europe/London 
-      - MYSQL_ROOT_PASSWORD=<random root password> 
-      - MYSQL_DATABASE=bookstackapp 
-      - MYSQL_USER=bookstack 
-      - MYSQL_PASSWORD=<your password> 
-    volumes: 
-      - /data/bookstack:/config 
-    networks: 
-      - bookstack-net 
- 
-networks: 
-  bookstack-net: {} 
-</file> 
- 
-NGINX configuration 
-<file - bookstack.conf> 
- 
-location = /bookstack {  
-        return 301 https://$host/bookstack/; 
-} 
- 
-location /bookstack/ { 
-    proxy_pass         http://127.0.0.1:6875/; 
-    proxy_redirect     off; 
-    proxy_set_header   Host $host; 
-    proxy_set_header   X-Real-IP $remote_addr; 
-    proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for; 
-    proxy_set_header   X-Forwarded-Host $server_name; 
-} 
-</file> 
- 
-<code bash> 
-cd /etc/local.d 
-ln -s _servicer.sh 62-bookstack--podman.start 
-ln -s _servicer.sh 62-bookstack--podman.stop 
-</code> 
- 
- 
  

This website uses technical cookies only. No information is shared with anybody or used in any way but provide the website in your browser.

More information