Comment on Simplest For End User Wiki/Knowlege Repo for the end user
Concave1142@lemmy.world 11 months agoHere you go, this is my docker compose. You can modify the pieces as you see fit.
version: ‘3’ services:
Bookstack
bookstack: image: lscr.io/linuxserver/bookstack container_name: bookstack environment: - PUID=${PUID} - PGID=${PGID} - APP_URL= - DB_HOST=bookstack_db - DB_USER=bookstack - DB_PASSWORD=${BS_DB_PASS} - DB_DATABASE=bookstackapp volumes: - ${DATA_DIR}/bookstack:/config ports: - 6875:80 restart: unless-stopped depends_on: - bookstack_db bookstack_db: image: lscr.io/linuxserver/mariadb container_name: bookstack_db environment: - PUID=${PUID} - PGID=${PGID} - MYSQL_ROOT_PASSWORD=${BS_DB_PASS} - TZ=${TIMEZONE} - MYSQL_DATABASE=bookstackapp - MYSQL_USER=bookstack - MYSQL_PASSWORD=${BS_DB_PASS} volumes: - ${DATA_DIR}/bookstack/mariadb:/config restart: unless-stopped
snekerpimp@lemmy.world 11 months ago
I notice in yours you dropped the
- APP_URL=https://bookstack.example.com
that linuxserver and solidnerd have in their compose files. I will comment that out and see if that helps my issues. would redirect to a 404 page every time.Concave1142@lemmy.world 11 months ago
That’s an error on my part, apologies. I copy/pasted and tried to redact my url from the APP_URL=bookstack.example.com section and ended up deleting the entire line; yay replying from mobile. :|
I currently use Bookstack on Docker in Unraid but the above docker compose snippet is from when I used a debian VM with docker installed on it to run my docker stacks.