mirror of
https://github.com/simple-login/app.git
synced 2024-09-28 20:51:29 +02:00
Add CHANGELOG and use specific Docker image tag in self-host instructions
This commit is contained in:
parent
57723ddd9d
commit
30389509c7
16
CHANGELOG
Normal file
16
CHANGELOG
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
All notable changes to SimpleLogin will be documented in this file.
|
||||||
|
The version corresponds to SimpleLogin Docker `image tag`.
|
||||||
|
|
||||||
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||||
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [1.0.0] - 2020-01-22
|
||||||
|
|
||||||
|
Start tagging docker image.
|
||||||
|
Docker image tag is used in README to make sure SimpleLogin new Docker images don't break previous deployments.
|
||||||
|
|
||||||
|
|
10
README.md
10
README.md
@ -58,7 +58,7 @@ docker run -it --rm \
|
|||||||
-e RESET_DB=true \
|
-e RESET_DB=true \
|
||||||
-e CONFIG=/code/.env.example \
|
-e CONFIG=/code/.env.example \
|
||||||
-p 7777:7777 \
|
-p 7777:7777 \
|
||||||
simplelogin/app python server.py
|
simplelogin/app:1.0.0 python server.py
|
||||||
```
|
```
|
||||||
|
|
||||||
Then open http://localhost:7777, you should be able to login with `john@wick.com/password` account!
|
Then open http://localhost:7777, you should be able to login with `john@wick.com/password` account!
|
||||||
@ -316,7 +316,7 @@ docker run --rm \
|
|||||||
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
|
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
|
||||||
-v $(pwd)/simplelogin.env:/code/.env \
|
-v $(pwd)/simplelogin.env:/code/.env \
|
||||||
--network="sl-network" \
|
--network="sl-network" \
|
||||||
simplelogin/app flask db upgrade
|
simplelogin/app:1.0.0 flask db upgrade
|
||||||
```
|
```
|
||||||
|
|
||||||
This command could take a while to download the `simplelogin/app` docker image.
|
This command could take a while to download the `simplelogin/app` docker image.
|
||||||
@ -331,7 +331,7 @@ docker run -d \
|
|||||||
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
|
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
|
||||||
-p 7777:7777 \
|
-p 7777:7777 \
|
||||||
--network="sl-network" \
|
--network="sl-network" \
|
||||||
simplelogin/app
|
simplelogin/app:1.0.0
|
||||||
```
|
```
|
||||||
|
|
||||||
Next run the `email handler`
|
Next run the `email handler`
|
||||||
@ -344,7 +344,7 @@ docker run -d \
|
|||||||
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
|
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
|
||||||
-p 20381:20381 \
|
-p 20381:20381 \
|
||||||
--network="sl-network" \
|
--network="sl-network" \
|
||||||
simplelogin/app python email_handler.py
|
simplelogin/app:1.0.0 python email_handler.py
|
||||||
```
|
```
|
||||||
|
|
||||||
[Optional] If you want to run the cronjob:
|
[Optional] If you want to run the cronjob:
|
||||||
@ -356,7 +356,7 @@ docker run -d \
|
|||||||
-v $(pwd)/dkim.key:/dkim.key \
|
-v $(pwd)/dkim.key:/dkim.key \
|
||||||
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
|
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
|
||||||
--network="sl-network" \
|
--network="sl-network" \
|
||||||
simplelogin/app yacron -c /code/crontab.yml
|
simplelogin/app:1.0.0 yacron -c /code/crontab.yml
|
||||||
```
|
```
|
||||||
|
|
||||||
### Nginx
|
### Nginx
|
||||||
|
Loading…
Reference in New Issue
Block a user