mirror of
https://github.com/wekan/wekan.git
synced 2026-03-06 05:40:16 +01:00
Add support for Docker/Compose Secrets for passwords to Docker/Snap/Bundle platforms.
Thanks to Roemer and xet7 ! Fixes #5724
This commit is contained in:
parent
3b60bdea14
commit
107e2ac900
16 changed files with 234 additions and 4 deletions
|
|
@ -20,6 +20,9 @@ echo -e "\t$ snap set $NAP_NAME s3='{\"s3\":{\"key\": \"xxx\", \"secret\": \"xxx
|
|||
echo -e "Disable S3:"
|
||||
echo -e "\t$ snap unset $SNAP_NAME s3"
|
||||
echo -e "\n"
|
||||
echo -e "S3 Secret File (Docker Compose secrets):"
|
||||
echo -e "\t$ snap set $SNAP_NAME s3-secret-file='/run/secrets/s3_secret'"
|
||||
echo -e "\n"
|
||||
#echo -e "Writable path. Snap can not write outside of /var/snap/wekan/common sandbox directory."
|
||||
#echo -e "Default:"
|
||||
#echo -e "\t$ snap set $SNAP_NAME writable-path='\$SNAP_COMMON\files'"
|
||||
|
|
@ -35,6 +38,9 @@ echo -e "\t$ snap set $SNAP_NAME mongo-url='...'"
|
|||
echo -e "\t-Disable the MONGO_URL of Wekan:"
|
||||
echo -e "\t$ snap unset $SNAP_NAME mongo-url"
|
||||
echo -e "\n"
|
||||
echo -e "MongoDB Password File (Docker Compose secrets):"
|
||||
echo -e "\t$ snap set $SNAP_NAME mongo-password-file='/run/secrets/mongo_password'"
|
||||
echo -e "\n"
|
||||
echo -e "Make sure you have connected all interfaces, check more by calling $ snap interfaces ${SNAP_NAME}"
|
||||
echo -e "\n"
|
||||
echo -e "${SNAP_NAME} has multiple services, to check status use systemctl"
|
||||
|
|
@ -78,6 +84,9 @@ echo -e "\t$ snap set $SNAP_NAME mail-service-user='firstname.lastname@hotmail.c
|
|||
echo -e "mail-service-password:"
|
||||
echo -e "\t$ snap set $SNAP_NAME mail-service-password='SecretPassword'"
|
||||
echo -e "\n"
|
||||
echo -e "mail-service-password-file (Docker Compose secrets):"
|
||||
echo -e "\t$ snap set $SNAP_NAME mail-service-password-file='/run/secrets/mail_service_password'"
|
||||
echo -e "\n"
|
||||
echo -e "Number of search results to show per page by default:"
|
||||
echo -e "\t$ snap set $SNAP_NAME results-per-page='20'"
|
||||
echo -e "\t-Restore default:"
|
||||
|
|
@ -334,6 +343,10 @@ echo -e "\t$ snap set $SNAP_NAME oauth2-secret='54321abcde'"
|
|||
echo -e "\t-Disable the OAuth2 Secret of Wekan:"
|
||||
echo -e "\t$ snap unset $SNAP_NAME oauth2-secret"
|
||||
echo -e "\n"
|
||||
echo -e "OAuth2 Secret File (Docker Compose secrets)."
|
||||
echo -e "Secret key file for OAuth2 (Docker secrets):"
|
||||
echo -e "\t$ snap set $SNAP_NAME oauth2-secret-file='/run/secrets/oauth2_secret'"
|
||||
echo -e "\n"
|
||||
echo -e "OAuth2 Server URL."
|
||||
echo -e "To enable the OAuth2 Server URL of Wekan:"
|
||||
echo -e "\t$ snap set $SNAP_NAME oauth2-server-url='https://chat.example.com'"
|
||||
|
|
@ -457,6 +470,10 @@ echo -e "Ldap Authentication Password."
|
|||
echo -e "The password for the search user:"
|
||||
echo -e "\t$ snap set $SNAP_NAME ldap-authentication-password='admin'"
|
||||
echo -e "\n"
|
||||
echo -e "Ldap Authentication Password File (Docker Compose secrets)."
|
||||
echo -e "The password file for the search user (Docker secrets):"
|
||||
echo -e "\t$ snap set $SNAP_NAME ldap-authentication-password-file='/run/secrets/ldap_auth_password'"
|
||||
echo -e "\n"
|
||||
echo -e "Ldap Log Enabled."
|
||||
echo -e "Enable logs for the module:"
|
||||
echo -e "\t$ snap set $SNAP_NAME ldap-log-enabled='true'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue