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

  • selfguest@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

    Have you tried debugging the issue by running the MySQL container alone (i.e. comment out the “bookstack:” section of the docker-compose file)?

    Does the container start and run? Are you able to connect to port 3306 of the container from the host, using whatever userid and password you specified?

    • revereddesecration@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      Fun fact: don’t comment out anything, just find the name of the database service, let’s say it’s db, then run docker compose up db to launch it on its own.

    • shahisunil@alien.topOPB
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 months ago

      I tried this. I was able to connect to the db. I was able to resolve this now after reading comment from u/ssddanbrown.