Skip to content

Commit 0423970

Browse files
committed
Set Port in DB_HOST
Signed-off-by: solidnerd <niclas@mietz.io>
1 parent 05dff0c commit 0423970

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ docker run -d --net bookstack_nw \
4949
3. Create BookStack Container
5050
```
5151
docker run -d --net bookstack_nw \
52-
-e DB_HOST=bookstack_db \
52+
-e DB_HOST=bookstack_db:3306 \
5353
-e DB_DATABASE=bookstack \
5454
-e DB_USERNAME=bookstack \
5555
-e DB_PASSWORD=secret \

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ services:
1616
depends_on:
1717
- mysql
1818
environment:
19-
- DB_HOST=mysql
19+
- DB_HOST=mysql:3306
2020
- DB_DATABASE=bookstack
2121
- DB_USERNAME=bookstack
2222
- DB_PASSWORD=secret

0 commit comments

Comments
 (0)