mirror of
https://github.com/simple-login/app.git
synced 2024-09-20 15:05:59 +08:00
add init data step to README
This commit is contained in:
parent
7ab04b030e
commit
81bc11bd8c
13
README.md
13
README.md
|
@ -486,6 +486,19 @@ sudo docker run --rm \
|
||||||
|
|
||||||
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.
|
||||||
|
|
||||||
|
Init data
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo docker run --rm \
|
||||||
|
--name sl-init \
|
||||||
|
-v $(pwd)/sl:/sl \
|
||||||
|
-v $(pwd)/simplelogin.env:/code/.env \
|
||||||
|
-v $(pwd)/dkim.key:/dkim.key \
|
||||||
|
-v $(pwd)/dkim.pub.key:/dkim.pub.key \
|
||||||
|
--network="sl-network" \
|
||||||
|
simplelogin/app:3.2.2 python init_app.py
|
||||||
|
```
|
||||||
|
|
||||||
Now, it's time to run the `webapp` container!
|
Now, it's time to run the `webapp` container!
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in a new issue