Skip to content

Commit 37e5357

Browse files
committed
Update README.md
1 parent 035f9eb commit 37e5357

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
# BookStack Docker image
1+
* 0.7.2 ([Dockerfile](https://github.com/Kilhog/docker-bookstack/blob/master/Dockerfile))
22

3-
## Usage with linked server
3+
## How to use this image
44

5-
First you need to run MySQL server in Docker, and this image need link a running mysql instance container :
5+
### Run MySQL Container
66
```
7-
docker run --name my-bookstack -d --link bookstack-mysql:mysql -p 8080:80 ??/bookstack
7+
docker pull mysql
8+
docker run -d --name bookstack-mysql -p 3306:3306 -e MYSQL_ROOT_PASSWORD=secret -e MYSQL_DATABASE=bookstack -e MYSQL_USER=bookstack -e MYSQL_PASSWORD=secret mysql
9+
```
10+
### Run Bookstack Container
11+
```
12+
docker pull kilhog/bookstack
13+
docker run --name my-bookstack -d --link bookstack-mysql:mysql -p 8080:80 kilhog/bookstack
814
```
9-

0 commit comments

Comments
 (0)