-
-
Notifications
You must be signed in to change notification settings - Fork 135
Closed as not planned
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
I used Docker-Compose to start Bookstack but got 500 error.

in /log/nginx/error.log I don't have any entries.
Expected Behavior
Open bookstack configuration home page
Steps To Reproduce
use docker-compose file, I have changed only file ports in docker hub
Environment
- OS: Centos 7
- How docker service was installed:CPU architecture
x86-64
Docker creation
version: "3"
services:
bookstack:
image: lscr.io/linuxserver/bookstack
container_name: bookstack
environment:
- PUID=1000
- PGID=1000
- APP_URL=https://bookstack.mydomain.com
- DB_HOST=bookstack_db
- DB_PORT=3307
- DB_USER=root
- DB_PASS=secret
- DB_DATABASE=bookstack
volumes:
- ./bookstack_app_data:/config
ports:
- 8080:80
restart: unless-stopped
depends_on:
- bookstack_db
bookstack_db:
image: lscr.io/linuxserver/mariadb
container_name: bookstack_db
environment:
- PUID=1000
- PGID=1000
- MYSQL_ROOT_PASSWORD=password
- TZ=America/Lima
- MYSQL_DATABASE=bookstack
- MYSQL_USER=bookstack
- MYSQL_PASSWORD=password
volumes:
- ./bookstack_db_data:/config
ports:
- 3307:3306
restart: unless-stoppedContainer logs
using keys found in /config/keys
App Key found - setting variable for seds
Running config - DB_HOST set
Waiting for DB to be available
Illuminate\Database\QueryException
SQLSTATE[HY000] [2002] Connection refused (Connection: mysql, SQL: select table_name as `name`, (data_length + index_length) as `size`, table_comment as `comment`, engine as `engine`, table_collation as `collation` from information_schema.tables where table_schema = 'bookstack' and table_type in ('BASE TABLE', 'SYSTEM VERSIONED') order by table_name)
at /app/www/vendor/laravel/framework/src/Illuminate/Database/Connection.php:829
825▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
826▕ );
827▕ }
828▕
➜ 829▕ throw new QueryException(
830▕ $this->getName(), $query, $this->prepareBindings($bindings), $e
831▕ );
832▕ }
833▕ }
+39 vendor frames
40 /app/www/artisan:35
Illuminate\Foundation\Console\Kernel::handle()
[custom-init] No custom files found, skipping...
[ls.io-init] done.
-----------------------------------
I have connection to DB from external computerMostFrabjous, Lx and ice1e0
Metadata
Metadata
Assignees
Type
Projects
Status
Done