Move config to abra.sh, add SECRET to secrets
continuous-integration/drone/push Build is passing Details

Ref coop-cloud/abra#43
This commit is contained in:
3wc 2021-02-08 15:34:39 +02:00
parent 0e35e0ad77
commit 8cb7bed81e
3 changed files with 3 additions and 4 deletions

View File

@ -9,8 +9,6 @@ LETS_ENCRYPT_ENV=production
ADMIN_USERNAME=admin
ADMIN_EMAIL=rocketchat@example.com
ENTRYPOINT_CONF_VERSION=v1
# OAuth with Keycloak
#COMPOSE_FILE="compose.yml:compose.oauth.yml"
#Accounts_OAuth_Custom-Keycloak-url="https://id.example.com/auth"
@ -19,7 +17,7 @@ ENTRYPOINT_CONF_VERSION=v1
#Accounts_OAuth_Custom-Keycloak-authorize_path="/realms/realmname/protocol/openid-connect/auth"
#Accounts_OAuth_Custom-Keycloak-id="rocketchat"
#OAUTH_KEY_VERSION=v1
#SECRET_OAUTH_KEY_VERSION=v1
# SMTP
#COMPOSE_FILE="compose.yml:compose.mailrelay.yml"

1
abra.sh Normal file
View File

@ -0,0 +1 @@
export ENTRYPOINT_CONF_VERSION=v1

View File

@ -26,4 +26,4 @@ services:
secrets:
oauth_key:
external: true
name: ${STACK_NAME}_oauth_key_${OAUTH_KEY_VERSION}
name: ${STACK_NAME}_oauth_key_${SECRET_OAUTH_KEY_VERSION}