Created
February 11, 2025 06:56
-
-
Save dasgoll/585744ba665b04081b8fe80825167f6f to your computer and use it in GitHub Desktop.
Install bookstack - docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -d --net bookstack_nw \ | |
-e MYSQL_ROOT_PASSWORD=secret \ | |
-e MYSQL_DATABASE=bookstack \ | |
-e MYSQL_USER=bookstack \ | |
-e MYSQL_PASSWORD=secret \ | |
--name="bookstack_db" \ | |
mysql:5.7.21 | |
docker run -d --net bookstack_nw \ | |
-e DB_HOST=bookstack_db:3306 \ | |
-e DB_DATABASE=bookstack \ | |
-e DB_USERNAME=bookstack \ | |
-e DB_PASSWORD=secret \ | |
-e APP_URL=http://saleem.com:8080 \ | |
-p 8080:8080 \ | |
--name="bookstack_22.04" \ | |
solidnerd/bookstack:22.04 | |
add saleem.com to /etc/hosts -> 127.0.0.1 | |
'[email protected]' and password 'password'. | |
git clone https://github.com/BookStackApp/BookStack | |
cd BookStack | |
docker compose -f docker-compose.yml up -d | |
visit http://localhost:8080 | |
'[email protected]' and password 'password'. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment