diff --git a/.env.sample b/.env.sample index 05705ef..18e1d07 100644 --- a/.env.sample +++ b/.env.sample @@ -3,18 +3,23 @@ TYPE=ocis DOMAIN={{ .Domain }} LETS_ENCRYPT_ENV=production -# oidc config +# Make true if using OIDC and you want accounts to be created automatically PROXY_AUTOPROVISION_ACCOUNTS=false -# set OIDC realm url + +# OIDC realm URL, e.g. https://keycloak.example.org/realm/example OCIS_OIDC_ISSUER= -# set OIDC client id + +# OIDC client ID +# Note that the client has to be in public mode (not confidential mode) and +# does therefore not need a client secret. WEB_OIDC_CLIENT_ID= -# general config +# General config OCIS_LOG_LEVEL=error OCIS_LOG_COLOR=false -# do not use SSL between Traefik and oCIS +# Keep as false if using a reverse proxy PROXY_TLS=false -# set to true if using self signed certs + +# Set to true if using self signed certs OCIS_INSECURE=false diff --git a/README.md b/README.md index 6fa2a5b..5c8df5f 100644 --- a/README.md +++ b/README.md @@ -21,3 +21,9 @@ your Docker swarm box 5. `abra app YOURAPPDOMAIN deploy` +## App commands + +### `ocis` + +To run the `ocis` command-line utility you can use the abra command `ocis`. Use it like this: +`abra app cmd YOURAPPDOMAIN app ocis` diff --git a/abra.sh b/abra.sh index 222f9dc..b640190 100644 --- a/abra.sh +++ b/abra.sh @@ -1,5 +1,9 @@ export APP_ENTRYPOINT_VERSION=v2 ocis() { - ocis $@ + echo "1: $1" + echo "2: $2" + echo "all: $@" + + /usr/bin/ocis "$@" }