From 0333e00e3df7bbadc5ed6a7f647a46ae52bd9d8d Mon Sep 17 00:00:00 2001 From: "Franz Heinzmann (Frando)" Date: Wed, 3 Aug 2022 11:20:23 +0200 Subject: [PATCH] updates --- .env.sample | 17 +++++++++++------ README.md | 6 ++++++ abra.sh | 6 +++++- 3 files changed, 22 insertions(+), 7 deletions(-) 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 "$@" }