This commit is contained in:
Son NK 2020-01-28 14:56:24 +07:00
parent 9489561f3f
commit 688f719e01
2 changed files with 8 additions and 4 deletions

View File

@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
## [1.0.3] - 2020-01-28
Add DISABLE_REGISTRATION param to disable new registrations.
## [1.0.2] - 2020-01-28
Add SUPPORT_NAME param to set a support email name.

View File

@ -61,7 +61,7 @@ docker run --name sl -it --rm \
-e RESET_DB=true \
-e CONFIG=/code/example.env \
-p 7777:7777 \
simplelogin/app:1.0.2 python server.py
simplelogin/app:1.0.3 python server.py
```
Then open http://localhost:7777, you should be able to login with `john@wick.com/password` account!
@ -461,7 +461,7 @@ sudo docker run --rm \
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
-v $(pwd)/simplelogin.env:/code/.env \
--network="sl-network" \
simplelogin/app:1.0.2 flask db upgrade
simplelogin/app:1.0.3 flask db upgrade
```
This command could take a while to download the `simplelogin/app` docker image.
@ -476,7 +476,7 @@ sudo docker run -d \
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
-p 7777:7777 \
--network="sl-network" \
simplelogin/app:1.0.2
simplelogin/app:1.0.3
```
Next run the `email handler`
@ -489,7 +489,7 @@ sudo docker run -d \
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
-p 20381:20381 \
--network="sl-network" \
simplelogin/app:1.0.2 python email_handler.py
simplelogin/app:1.0.3 python email_handler.py
```
### Nginx