Skip to content

Commit 676654c

Browse files
authored
Merge pull request #4 from SolidNerd/upgrade_docker_compose
Update docker-compose.yml to latest version
2 parents ff283ff + 017f289 commit 676654c

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
README.md
22
LICENCE
33
.git
4+
docker-compose.yml

docker-compose.yml

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,7 @@
11
version: '2'
22
services:
3-
bookstack:
4-
image: solidnerd/bookstack:0.10.0
5-
depends_on:
6-
- db
7-
environment:
8-
- DB_HOST=db
9-
- DB_DATABASE=bookstack
10-
- DB_USERNAME=bookstack
11-
- DB_PASSWORD=secret
12-
ports:
13-
- "8080:80"
14-
db:
3+
4+
mysql:
155
image: mysql:5.7.12
166
environment:
177
- MYSQL_ROOT_PASSWORD=secret
@@ -20,3 +10,15 @@ services:
2010
- MYSQL_PASSWORD=secret
2111
volumes:
2212
- ./mysql:/var/lib/mysql
13+
14+
bookstack:
15+
image: solidnerd/bookstack:0.11.0
16+
depends_on:
17+
- mysql
18+
environment:
19+
- DB_HOST=mysql
20+
- DB_DATABASE=bookstack
21+
- DB_USERNAME=bookstack
22+
- DB_PASSWORD=secret
23+
ports:
24+
- "8080:80"

0 commit comments

Comments
 (0)