this post was submitted on 01 Dec 2023
13 points (93.3% liked)

Selfhosted

40329 readers
316 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I am trying to set up a repository of knowledge for my job. Was thinking a wiki, but I need something that I can make as simple as possible for the end user, as some of them are not familiar with markdown or html. Is there a self hosted option that is dumb easy simple to navigate and edit for the end user?

you are viewing a single comment's thread
view the rest of the comments
[–] Concave1142@lemmy.world 2 points 11 months ago (1 children)

Here 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 1 points 11 months ago (1 children)

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 1 points 11 months ago

That's an error on my part, apologies. I copy/pasted and tried to redact my url from the APP_URL=https://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.