mirror of
https://github.com/bonfire-networks/bonfire-deploy.git
synced 2025-06-15 13:56:04 +00:00
abra should generate correct length
This commit is contained in:
parent
673ef97bbc
commit
851f562e95
@ -64,9 +64,9 @@ SECRET_MEILI_MASTER_KEY_VERSION=v1
|
|||||||
SECRET_SEEDS_PW_VERSION=v1
|
SECRET_SEEDS_PW_VERSION=v1
|
||||||
SECRET_LIVEBOOK_PASSWORD_VERSION=v1
|
SECRET_LIVEBOOK_PASSWORD_VERSION=v1
|
||||||
|
|
||||||
SECRET_SECRET_KEY_BASE_VERSION=v2
|
SECRET_SECRET_KEY_BASE_VERSION=v1 # length=96
|
||||||
SECRET_SIGNING_SALT_VERSION=v2
|
SECRET_SIGNING_SALT_VERSION=v1 # length=96
|
||||||
SECRET_ENCRYPTION_SALT_VERSION=v2
|
SECRET_ENCRYPTION_SALT_VERSION=v1 # length=96
|
||||||
|
|
||||||
# ====================================
|
# ====================================
|
||||||
# You should not have to edit any of the following ones:
|
# You should not have to edit any of the following ones:
|
||||||
|
@ -17,11 +17,10 @@ A [coop-cloud](https://coopcloud.tech) recipe for deploying [Bonfire](https://bo
|
|||||||
|
|
||||||
1. Set up Docker Swarm and [`abra`]
|
1. Set up Docker Swarm and [`abra`]
|
||||||
2. Deploy the [`coop-cloud/traefik`] proxy if you haven't already
|
2. Deploy the [`coop-cloud/traefik`] proxy if you haven't already
|
||||||
3. `abra app new ${REPO_NAME}`
|
3. `abra app new https://github.com/bonfire-networks/bonfire-deploy --secrets`
|
||||||
4. Generate secrets with `./secrets.sh YOUR_APP_NAME`
|
4. `abra app config YOUR_APP_NAME` to edit your config. Be sure to change `$DOMAIN` to something that resolves to your Docker swarm box, check/edit the other config keys
|
||||||
5. `abra app config YOUR_APP_NAME` to edit your config. Be sure to change `$DOMAIN` to something that resolves to your Docker swarm box, check/edit the other config keys
|
5. `abra app deploy YOUR_APP_NAME`
|
||||||
6. `abra app deploy YOUR_APP_NAME`
|
6. Open the configured domain in your browser and sign up!
|
||||||
7. Open the configured domain in your browser and sign up!
|
|
||||||
|
|
||||||
|
|
||||||
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra
|
[`abra`]: https://git.coopcloud.tech/coop-cloud/abra
|
||||||
|
11
secrets.sh
11
secrets.sh
@ -1,11 +0,0 @@
|
|||||||
#/bin/sh
|
|
||||||
|
|
||||||
abra app secret generate --all $1
|
|
||||||
|
|
||||||
s1=$(openssl rand -base64 128)
|
|
||||||
s2=$(openssl rand -base64 128)
|
|
||||||
s3=$(openssl rand -base64 128)
|
|
||||||
|
|
||||||
abra app secret insert $1 secret_key_base v2 "$s1"
|
|
||||||
abra app secret insert $1 signing_salt v2 "$s2"
|
|
||||||
abra app secret insert $1 encryption_salt v2 "$s3"
|
|
Loading…
x
Reference in New Issue
Block a user