Can anyone share their bookstack docker-compose app with me?

I am trying to host it and the sample docker-compose file herehttps://github.com/linuxserver/docker-bookstack/pkgs/container/bookstack#usage

does not work for me. Getting error when db migration is applied.

https://preview.redd.it/dtt6t2cf7fvb1.png?width=1279&format=png&auto=webp&s=3cad128718963d29032ee796f33057cc52b76f74

I am testing this on my windows machine locally but intend to host in a linux machine.

docker-compose file. https://pastebin.com/AVLrG4Ea

  • gleepwurp1974@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Yeah, looks like your bookstack app is unable to connect to its database container.

    Have you tried letting run a bit? Sometimes the bookstack container will try to connect to the DB container before it has had sufficient time to initialize properly… It the config is set up properly, it should eventually connect to it.

    Like another user mentioned, sometimes “localhost” definition is missing in Windows, so try using the local loopback IP (127.0.0.1) instead of “localhost”, to take out DNS/Naming issues from the equation. (APP_URL env variable)

    Aside from those points I mentionned, my docker-compose matches yours (no APP_KEY though env variable though).

    Good luck!