generated from coop-cloud/example
parent
758d4d6af8
commit
4745b2e836
|
@ -49,7 +49,7 @@ Avoid the use of quotes (`"..."`) as much as possible, the NodeJS scripts flip o
|
||||||
|
|
||||||
### Deleting a user (e.g. to fix SSO weirdness)
|
### Deleting a user (e.g. to fix SSO weirdness)
|
||||||
|
|
||||||
`abra app cmd YOURAPPNAME postgres delete_user <username-to-delete> <username-to-replace>`
|
`abra app cmd YOURAPPNAME db delete_user <username-to-delete> <username-to-replace>`
|
||||||
|
|
||||||
Where `<username-to-delete>` is the username of the user to be removed, and
|
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
|
`<username-to-replace>` is the username of another user, to assign documents and
|
||||||
|
|
4
abra.sh
4
abra.sh
|
@ -1,8 +1,8 @@
|
||||||
export APP_ENTRYPOINT_VERSION=v4
|
export APP_ENTRYPOINT_VERSION=v5
|
||||||
|
|
||||||
migrate() {
|
migrate() {
|
||||||
export DATABASE_PASSWORD=$(cat /run/secrets/db_password)
|
export DATABASE_PASSWORD=$(cat /run/secrets/db_password)
|
||||||
export DATABASE_URL="postgres://outline:${DATABASE_PASSWORD}@${STACK_NAME}_postgres:5432/outline"
|
export DATABASE_URL="postgres://outline:${DATABASE_PASSWORD}@${STACK_NAME}_db:5432/outline"
|
||||||
yarn db:migrate --env=production-ssl-disabled
|
yarn db:migrate --env=production-ssl-disabled
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -49,12 +49,12 @@ services:
|
||||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||||
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
#- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||||
|
|
||||||
redis:
|
cache:
|
||||||
image: redis:6.2.6
|
image: redis:6.2.6
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
|
|
||||||
postgres:
|
db:
|
||||||
image: postgres:11
|
image: postgres:11
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
|
|
|
@ -13,6 +13,6 @@ export GOOGLE_CLIENT_SECRET=$(cat /run/secrets/google_client_secret)
|
||||||
export UTILS_SECRET=$(cat /run/secrets/utils_secret)
|
export UTILS_SECRET=$(cat /run/secrets/utils_secret)
|
||||||
export SECRET_KEY=$(cat /run/secrets/secret_key)
|
export SECRET_KEY=$(cat /run/secrets/secret_key)
|
||||||
export DATABASE_PASSWORD=$(cat /run/secrets/db_password)
|
export DATABASE_PASSWORD=$(cat /run/secrets/db_password)
|
||||||
export DATABASE_URL="postgres://outline:${DATABASE_PASSWORD}@${STACK_NAME}_postgres:5432/outline"
|
export DATABASE_URL="postgres://outline:${DATABASE_PASSWORD}@${STACK_NAME}_db:5432/outline"
|
||||||
|
|
||||||
/usr/local/bin/yarn start "$@"
|
/usr/local/bin/yarn start "$@"
|
||||||
|
|
|
@ -19,6 +19,10 @@ users are enjoying using it.
|
||||||
See https://git.coopcloud.tech/coop-cloud/outline#deleting-a-user-e-g-to-fix-sso-weirdness
|
See https://git.coopcloud.tech/coop-cloud/outline#deleting-a-user-e-g-to-fix-sso-weirdness
|
||||||
for more.
|
for more.
|
||||||
|
|
||||||
|
- Furthermore, following https://git.coopcloud.tech/coop-cloud/outline/issues/9, you will
|
||||||
|
need to undeploy your stack and re-deploy as some of the services have been renamed to
|
||||||
|
maintain naming conventions with other recipes.
|
||||||
|
|
||||||
There has been a lot of changes. Please add to this file if you see more
|
There has been a lot of changes. Please add to this file if you see more
|
||||||
weirdness to help the rest of the Co-op Cloud Comrades.
|
weirdness to help the rest of the Co-op Cloud Comrades.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue