i've been trying to get the docker-compose example running, but for whatever reason i can't get it to work.
https://codeberg.org/bookstack/devops/src/branch/main/config/lsio-docker/docker-compose.yml
I followed the link on https://www.bookstackapp.com/docs/admin/installation/ which led me here.
here are the steps i followed
- Create an empty directory and cd into it
- Create empty directories for the volumes
mkdir bookstack_db_dataandmkdir bookstack_app_data - Create the file
docker-compose.ymlas linked above - Paste in the file contents as linked above. Change only row 37
APP_KEYwith the output from the commanddocker run -it --rm --entrypoint /bin/bash lscr.io/linuxserver/bookstack:latest appkey - Run
docker-compose up -d
resulting error (logs from bookstack container)
SQLSTATE[HY000] [2002] Operation timed out (Connection: mysql, SQL: select exists (select 1 from information_schema.tables where table_schema = 'bookstack' and table_name = 'migrations' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED')) as `exists`)
at /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:825
821▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
822▕ );
823▕ }
824▕
➜ 825▕ throw new QueryException(
826▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
827▕ );
828▕ }
829▕ }
+38 vendor frames
39 /app/www/artisan:35
Illuminate\Foundation\Console\Kernel::handle()
No visible errors from mariadb.
Not sure if i'm missing anything but I would expect the example to work as-is.
using synology dsm fwiw