mirror of
https://github.com/simple-login/app.git
synced 2024-11-18 01:40:38 +01:00
v3.2.2
This commit is contained in:
parent
ee6a1a672d
commit
835920182e
3 changed files with 14 additions and 11 deletions
|
@ -8,6 +8,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [3.2.2] - 2020-06-15
|
||||
Fix POST /v2/alias/custom/new when DISABLE_ALIAS_SUFFIX is set
|
||||
|
||||
## [3.2.1] - 2020-06-15
|
||||
Fix regressions introduced in 3.2.0 regarding DISABLE_ALIAS_SUFFIX option
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ docker run --name sl -it --rm \
|
|||
-e RESET_DB=true \
|
||||
-e CONFIG=/code/example.env \
|
||||
-p 7777:7777 \
|
||||
simplelogin/app:3.2.1 python server.py
|
||||
simplelogin/app:3.2.2 python server.py
|
||||
```
|
||||
|
||||
Then open http://localhost:7777, you should be able to login with `john@wick.com/password` account!
|
||||
|
@ -481,7 +481,7 @@ sudo docker run --rm \
|
|||
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
|
||||
-v $(pwd)/simplelogin.env:/code/.env \
|
||||
--network="sl-network" \
|
||||
simplelogin/app:3.2.1 flask db upgrade
|
||||
simplelogin/app:3.2.2 flask db upgrade
|
||||
```
|
||||
|
||||
This command could take a while to download the `simplelogin/app` docker image.
|
||||
|
@ -498,7 +498,7 @@ sudo docker run -d \
|
|||
-p 7777:7777 \
|
||||
--restart always \
|
||||
--network="sl-network" \
|
||||
simplelogin/app:3.2.1
|
||||
simplelogin/app:3.2.2
|
||||
```
|
||||
|
||||
Next run the `email handler`
|
||||
|
@ -513,7 +513,7 @@ sudo docker run -d \
|
|||
-p 20381:20381 \
|
||||
--restart always \
|
||||
--network="sl-network" \
|
||||
simplelogin/app:3.2.1 python email_handler.py
|
||||
simplelogin/app:3.2.2 python email_handler.py
|
||||
```
|
||||
|
||||
### Nginx
|
||||
|
|
|
@ -7,7 +7,7 @@ Sometimes upgrading to a major version might require running a manual migration.
|
|||
If you are running versions prior to 3x, please:
|
||||
|
||||
1. first upgrade to 2.1.2 then
|
||||
2. upgrade to the latest version which is 3.2.1
|
||||
2. upgrade to the latest version which is 3.2.2
|
||||
|
||||
<details>
|
||||
<summary>After upgrade to 3x from 2x</summary>
|
||||
|
@ -119,11 +119,11 @@ for user in User.query.all():
|
|||
</p>
|
||||
</details>
|
||||
|
||||
## Upgrade to the latest version 3.2.1
|
||||
## Upgrade to the latest version 3.2.2
|
||||
|
||||
```bash
|
||||
# Pull the latest version
|
||||
sudo docker pull simplelogin/app:3.2.1
|
||||
sudo docker pull simplelogin/app:3.2.2
|
||||
|
||||
# Stop SimpleLogin containers
|
||||
sudo docker stop sl-email sl-migration sl-app
|
||||
|
@ -139,7 +139,7 @@ sudo docker run --rm \
|
|||
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
|
||||
-v $(pwd)/simplelogin.env:/code/.env \
|
||||
--network="sl-network" \
|
||||
simplelogin/app:3.2.1 flask db upgrade
|
||||
simplelogin/app:3.2.2 flask db upgrade
|
||||
|
||||
# Run init data
|
||||
sudo docker run --rm \
|
||||
|
@ -149,7 +149,7 @@ sudo docker run --rm \
|
|||
-v $(pwd)/dkim.key:/dkim.key \
|
||||
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
|
||||
--network="sl-network" \
|
||||
simplelogin/app:3.2.1 python init_app.py
|
||||
simplelogin/app:3.2.2 python init_app.py
|
||||
|
||||
# Run the webapp container
|
||||
sudo docker run -d \
|
||||
|
@ -161,7 +161,7 @@ sudo docker run -d \
|
|||
-p 7777:7777 \
|
||||
--restart always \
|
||||
--network="sl-network" \
|
||||
simplelogin/app:3.2.1
|
||||
simplelogin/app:3.2.2
|
||||
|
||||
# Run the email handler container
|
||||
sudo docker run -d \
|
||||
|
@ -173,6 +173,6 @@ sudo docker run -d \
|
|||
-p 20381:20381 \
|
||||
--restart always \
|
||||
--network="sl-network" \
|
||||
simplelogin/app:3.2.1 python email_handler.py
|
||||
simplelogin/app:3.2.2 python email_handler.py
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue