generated from coop-cloud/example
Compare commits
2 Commits
ea012f2628
...
f3c8e08441
Author | SHA1 | Date |
---|---|---|
iexos | f3c8e08441 | |
iexos | 6da688ad1b |
33
README.md
33
README.md
|
@ -22,11 +22,7 @@ Wiki and knowledge base for growing teams
|
|||
3. `abra app new ${REPO_NAME}`
|
||||
- **WARNING**: Choose "n" when `abra` asks if you'd like to generate secrets
|
||||
4. `abra app config YOURAPPNAME` - be sure to change `$DOMAIN` to something that resolves to
|
||||
your Docker swarm box. For Minio, you'll want:
|
||||
- `AWS_ACCESS_KEY_ID=<minio username>`
|
||||
- `AWS_REGION="us-east-1"`
|
||||
- `AWS_S3_UPLOAD_BUCKET_URL=https://minio.example.com`
|
||||
- `AWS_S3_UPLOAD_BUCKET_NAME=
|
||||
your Docker swarm box
|
||||
5. `abra app deploy YOURAPPNAME`
|
||||
7. Open the configured domain in your browser to finish set-up
|
||||
|
||||
|
@ -41,14 +37,6 @@ Wiki and knowledge base for growing teams
|
|||
abra app cmd YOURAPPNAME app create_email_user test@example.com
|
||||
```
|
||||
|
||||
### Post-deploy migration
|
||||
|
||||
```
|
||||
abra app cmd YOURAPPNAME app migrate
|
||||
```
|
||||
|
||||
_As of 2022-03-30, this requires `abra` RC version, run `abra upgrade --rc`._
|
||||
|
||||
### Setting up your `.env` config
|
||||
|
||||
Avoid the use of quotes (`"..."`) as much as possible, the NodeJS scripts flip out for some reason on some vars.
|
||||
|
@ -61,7 +49,24 @@ Where `<username-to-delete>` is the username of the user to be removed, and
|
|||
`<username-to-replace>` is the username of another user, to assign documents and
|
||||
revisions to (instead of deleting them).
|
||||
|
||||
_As of 2022-03-30, this requires `abra` RC version, run `abra upgrade --rc`._
|
||||
### Migrate from S3 to local storage
|
||||
|
||||
- `abra app config <domain>`, add
|
||||
COMPOSE_FILE="$COMPOSE_FILE:compose.local.yml"
|
||||
FILE_STORAGE_UPLOAD_MAX_SIZE=26214400
|
||||
- `abra app deploy <domain> -f`
|
||||
- compose.aws.yml should still be deployed!
|
||||
- `abra app undeploy <domain>`
|
||||
- on the docker host, find mountpoint of newly created volume via `docker volume ls` and `docker volume inspect`
|
||||
- volume name is smth like `<domain>_storage-data`
|
||||
- take note which linux user owns `<storage_mountpoint>` (likely `1001`)
|
||||
- use s3cmd/rclone/... to sync your bucket to `<storage_mountpoint>`
|
||||
- `chown -R <storage_user>:<storage_user> <storage_mountpoint>`
|
||||
- `abra app config <domain>`, switch storage backend
|
||||
- remove `AWS_*` vars, `SECRET_AWS_SECRET_KEY_VERSION` and `COMPOSE_FILE="$COMPOSE_FILE:compose.aws.yml"`
|
||||
- set `FILE_STORAGE=local`
|
||||
- `abra app deploy <domain> -f`
|
||||
- enjoy getting rid of S3 🥳
|
||||
|
||||
## Single Sign On with Keycloak
|
||||
|
||||
|
|
Loading…
Reference in New Issue