You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
so i ran the set up correctly still need further help my bookstack
this is the docker - Compose.yml i used to set up on portainer
Details
version: "2"services:
# Service definition for BookStackbookstack:
image: lscr.io/linuxserver/bookstack # The Docker image for BookStackcontainer_name: bookstack # Name of the containerenvironment: # Environment variables for the BookStack service
- PUID=1000 # User ID for the process
- PGID=1000 # Group ID for the process
- APP_URL=http://172.25.189.2:6875 # URL for accessing BookStack
- DB_HOST=bookstack_db # Hostname of the database service
- DB_PORT=3306 # Port for the database service
- DB_USER=bookstack # Database user
- DB_PASS=secret # Database password
- DB_DATABASE=bookstackapp # Database name
- APP_DEFAULT_DARK_MODE=true # Enable dark mode by defaultvolumes:
- bookstack_config:/config # Mount the volume for BookStack configurationports:
- 6875:80# Map port 6875 on the host to port 80 in the containerrestart: unless-stopped # Restart policydepends_on:
- bookstack_db # This service depends on the bookstack_db servicenetworks:
- bookstack-network # Connect to the bookstack-network# Service definition for the database (MariaDB)bookstack_db:
image: lscr.io/linuxserver/mariadb # The Docker image for MariaDBcontainer_name: bookstack_db # Name of the containerenvironment: # Environment variables for the MariaDB service
- MYSQL_ROOT_PASSWORD=your_root_password # Root password for MariaDB
- MYSQL_DATABASE=bookstackapp # Database name
- MYSQL_USER=bookstack # Database user
- MYSQL_PASSWORD=secret # Database passwordvolumes:
- bookstack_db_data:/var/lib/mysql # Mount the volume for MariaDB datarestart: unless-stopped # Restart policynetworks:
- bookstack-network # Connect to the bookstack-networkvolumes:
bookstack_config: # Volume for storing BookStack configurationdriver: localbookstack_db_data: # Volume for storing MariaDB datadriver: local# Define the network configurationnetworks:
bookstack-network: # Custom network for inter-container communicationdriver: bridge # Use the bridge driver for the network
Exact BookStack Version
2
Log Content
logs say im missing this info " using keys found in /config/keys The application key is missing, halting init! You can generate a key with: docker run -it --rm --entrypoint /bin/bash lscr.io/linuxserver/bookstack:latest appkey
And apply it to the APP_KEY environment variable. "
Any help will be great .
Hosting Environment
Ubuntu and Portainer
The text was updated successfully, but these errors were encountered:
You need to set an APP_KEY, which is generated as per the logged output and linuxserver readme. I'm not familiar enough with portainer to know how to run the one-off command via portainer though.
Attempted Debugging
Searched GitHub Issues
Describe the Scenario
so i ran the set up correctly still need further help my bookstack
this is the docker - Compose.yml i used to set up on portainer
Details
Exact BookStack Version
2
Log Content
logs say im missing this info " using keys found in /config/keys The application key is missing, halting init! You can generate a key with: docker run -it --rm --entrypoint /bin/bash lscr.io/linuxserver/bookstack:latest appkey
And apply it to the APP_KEY environment variable. "
Any help will be great .
Hosting Environment
Ubuntu and Portainer
The text was updated successfully, but these errors were encountered: