generated from coop-cloud/example
parent
940ebf8554
commit
01ecc19e35
10
README.md
10
README.md
|
@ -34,8 +34,8 @@ First, generate the `SECRET_KEY_BASE` and `OTP_SECRET` and store them in your lo
|
|||
```
|
||||
$ SECRET_KEY_BASE=$(docker run --rm tootsuite/mastodon:v3.4.0 bundle exec rake secret)
|
||||
$ OTP_SECRET=$(docker run --rm tootsuite/mastodon:v3.4.0 bundle exec rake secret)
|
||||
$ abra app YOURAPPDOMAIN secret insert secret_key_base v1 $SECRET_KEY_BASE
|
||||
$ abra app YOURAPPDOMAIN secret insert otp_secret v1 $OTP_SECRET
|
||||
$ abra app secret insert YOURAPPDOMAIN secret_key_base v1 $SECRET_KEY_BASE
|
||||
$ abra app secret insert YOURAPPDOMAIN otp_secret v1 $OTP_SECRET
|
||||
```
|
||||
|
||||
Then you need to generate the `VAPID_{PUBLIC/PRIVATE}_KEY` values using the `SECRET_KEY_BASE`/`OTP_SECRET`:
|
||||
|
@ -51,12 +51,12 @@ $ docker run \
|
|||
Once you see the values generated, you can load the `VAPID_PUBLIC_KEY` into your `.env` file and `VAPID_PRIVATE_KEY` into a secret.
|
||||
|
||||
```
|
||||
$ abra app YOURDOMAIN secret insert vapid_private_key v1 YOURVAPIDPRIVATEKEY
|
||||
$ abra app secret insert YOURDOMAIN vapid_private_key v1 YOURVAPIDPRIVATEKEY
|
||||
```
|
||||
|
||||
And finally, to end your whirlwind secrets loading adventure, get the `DB_PASS` and `SMTP_PASSWORD` loaded.
|
||||
|
||||
```
|
||||
$ abra app YOURAPPDOMAIN secret generate db_password v1
|
||||
$ abra app YOURDOMAIN secret insert smtp_password v1 YOURSMTPPASSWORD
|
||||
$ abra app secret generate YOURAPPDOMAIN db_password v1
|
||||
$ abra app secret insert YOURDOMAIN smtp_password v1 YOURSMTPPASSWORD
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue