Comments (5)
Hi @Gumblfreak-R,
- Please ensure the
APP_URL
is set exactly to the base URL you'd expect to access BookStack on.- Ensure you're re-creating the containers (compose down & up) rather than just restarting after changing this.
- I don't understand how Apache is used with the shown docker setup here, they don't look connected at all. The apache looks set-up for a sub-path setup leading to a on-instance install, whereas you've got a docker-based install for which I'd expect to see a proxy-based setup.
- Can you explain the expected URL format, and all the parts you have in play?
- Do you intend to use a sub-path?
- Is apache currently leading requests to the docker setup somehow? If so, how?
- Are you using a port number in the URL when accessing it? If so, do you intend to?
- Can you explain the expected URL format, and all the parts you have in play?
from bookstack.
I have an Ubuntu server incl. Plesk installation. I have installed Docker and Bookstack as follows:
curl -fsSL https://get.docker.com | sudo sh
First create the .yml file in your desired installation path
as an example the path would be /docker/bookstack
then open the compose file here with vi:
vi docker-compose.yml
Copy the content below and adapt it to your bookstack environment. Be sure to replace the example passwords!
services:
bookstack:
image: lscr.io/linuxserver/bookstack
container_name: bookstack
environment:
- PUID=1000
- PGID=1000
- APP_URL=https://bookstack.example.com
- DB_HOST=bookstack_db
- DB_PORT=3306
- DB_USER=bookstack
- DB_PASS=
- DB_DATABASE=bookstackapp
volumes:
- ./bookstack_app_data:/config
ports:
- 6875: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=
- TZ=Europe/Berlin
- MYSQL_DATABASE=bookstackapp
- MYSQL_USER=bookstack
- MYSQL_PASSWORD=
volumes:
- ./bookstack_db_data:/config
restart: unless-stopped
Now exit the editor with :wq!
Then start your Bookstack Docker environment with
docker compose up -d
You can use docker ps to check whether your Docker environment is running.
Your URL is then https://bookstack.example.com:6875 or https://192.168.178.XX:6875
from bookstack.
i changed the url at the composer.yml with my url. but i always land on the example page...
by apache2 configs i have entered this one:
<VirtualHost *:80>
...
# BookStack Configuration
Alias "/bookstack" "/var/www/bookstack/public"
<Directory "/var/www/bookstack/public">
Options FollowSymlinks
AllowOverride None
Require all granted
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</Directory>
<Directory "/var/www/bookstack">
AllowOverride None
Require all denied
</Directory>
# End BookStack Configuration
...
here i have updated my path and then saved
from bookstack.
@Gumblfreak-R That apache setup appears in no way linked to the docker setup? Do you expect it to be?
Do you have a domain name you're using to access BookStack? Or an IP address?
from bookstack.
i have a domain name. but i also tried it with the ip adress
from bookstack.
Related Issues (20)
- Request for help using the Logical Theme system to enable logging in via url parameters HOT 2
- Redirect from /books to /shelves HOT 2
- WYSIWYG: Table cell format handling clears more styles than expected
- Re: Xdebug: [Step Debug] Time-out connecting to debugging client HOT 1
- Error when empty trash HOT 3
- Update `LDAP_USER_FILTER` env option to use new placeholder format HOT 1
- Sticky URL parameters (for keeping iframe/theme settings when navigating) HOT 1
- CVE-2024-2961 HOT 1
- Advise about the payment feature HOT 1
- Object embeds in the editor show image toolbar button
- Drag and drop of attachments into editor fails for Chrome
- Add x86/x86_64 assembly to list of supported languages in code blocks HOT 2
- Request variables blockquotes HOT 3
- SQLSTATE[42S22]: Column not found: 1054 Unknown column 'system_name' in 'where clause' HOT 7
- Customization -> custom html style applies not on settings page HOT 2
- SMTP Email configuration generate error HOT 5
- "419 Page Expired" When user inactive in login page then try to login and configured Single Sign On mode HOT 2
- Uploaded mp4 video doesn't play in Safari HOT 3
- Bookstack restore unable to restore DB HOT 4
- Edit tags/Attachments as an Option in Actions menu. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bookstack.