This commit is contained in:
Son NK 2020-03-13 10:30:27 +01:00
parent d2fb44025a
commit c9431c693f
1 changed files with 4 additions and 4 deletions

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.5 python server.py
simplelogin/app:1.1.0 python server.py
```
Then open http://localhost:7777, you should be able to login with `john@wick.com/password` account!
@ -463,7 +463,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.5 flask db upgrade
simplelogin/app:1.1.0 flask db upgrade
```
This command could take a while to download the `simplelogin/app` docker image.
@ -479,7 +479,7 @@ sudo docker run -d \
-p 7777:7777 \
--restart always \
--network="sl-network" \
simplelogin/app:1.0.5
simplelogin/app:1.1.0
```
Next run the `email handler`
@ -493,7 +493,7 @@ sudo docker run -d \
-p 20381:20381 \
--restart always \
--network="sl-network" \
simplelogin/app:1.0.5 python email_handler.py
simplelogin/app:1.1.0 python email_handler.py
```
### Nginx