Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederick-S authored Jan 10, 2021
1 parent a76093b commit a2c772f
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,17 @@ Send NHK easy news to Kindle/Evernote (WIP).
## Getting started
### Docker
```sh
docker run -e MYSQL_ROOT_PASSWORD=your-mysql-root-password -e MYSQL_DATABASE=nhk -e MYSQL_USER=your-mysql-user -e MYSQL_PASSWORD=your-mysql-user-password -p 3306:3306 -d mysql:8
docker run -e MYSQL_ROOT_PASSWORD=your-mysql-root-password \
-e MYSQL_DATABASE=nhk \
-e MYSQL_USER=your-mysql-user \
-e MYSQL_PASSWORD=your-mysql-user-password \
-p 3306:3306 \
-d mysql:8

docker run -e MYSQL_HOST=ip-address-of-mysql (inspected from docker inspect mysql-container) -e MYSQL_USER=your-mysql-user -e MYSQL_PASSWORD=your-mysql-user-password -p 8080:8080 xiaodanmao/nhk-easy-daily
docker run -e MYSQL_HOST=ip-address-of-mysql (inspected from docker inspect mysql-container) \
-e MYSQL_USER=your-mysql-user \
-e MYSQL_PASSWORD=your-mysql-user-password \
-p 8080:8080 xiaodanmao/nhk-easy-daily
```

### Docker compose
Expand Down

0 comments on commit a2c772f

Please sign in to comment.