This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
function sed_rt() { | |
echo "$1" | sed -e 's/^ *//g' -e 's/ *$//g' | sed -n '1 p' | |
} | |
function to_num() { | |
case $1 in | |
'' | *[!0-9\.]*) echo 0 ;; | |
*) echo $1 ;; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | |
function sed_rt() { | |
echo "$1" | sed -e 's/^ *//g' -e 's/ *$//g' | sed -n '1 p' | |
} | |
function to_base64() { | |
#echo "$1" | base64 | |
echo "$1" | tr -d '\n' | base64 | tr -d '=' | tr -d '\n' | sed 's/\//%2F/g' | sed 's/\+/%2B/g' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
mariadb-galera: | |
container_name: mariadb-galera | |
environment: | |
- MARIADB_GALERA_CLUSTER_NAME="galera_node" | |
- MARIADB_GALERA_CLUSTER_ADDRESS=gcomm://103.174.50.210 | |
- MARIADB_ROOT_PASSWORD=rootpassword | |
- MARIADB_GALERA_MARIABACKUP_PASSWORD=MBrootpassword | |
- MARIADB_GALERA_NODE_ADDRESS=103.174.50.210 | |
- BITNAMI_DEBUG=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQC0ZQ5nbHLAVuRYj5UYnqfBSnoeg0hjrT6Xha6a+aQEC391KOfqdRgiayCD/d+5/EBlVctPmZAJ4b9zDM7tQvOF0WFYrNVyIwcXijnw/J6FSIDBmUn7qe3Ch/Qcyhn63YG9Y3lsMAS9tE2KOW67FHuRVZ6tuvMmNnYT2iwvTjx6EfCh4ybgZrinGADZREMRADGLYKRcirIxo/khp2xeYGzWzGMQXfAE86e/V/UNehABS2sT2h810wYff0hAQeKys89mF9xd36PhguuD399Mh6NPOwFpFBRSLmqMFt/bp/8qvELMBx+oH1OeBNqsayfkpHbtwrlZdjoz14HaSslUSbMTCr/i/gqSEEfVL3G9UAkxuhtCqs/eSPDIEeqVWOt9ocJ1lPPrYOvXNuq0CASiC9Qndkw26dNlbZ0Tz0A2mLsG9XJyzvTrM+w6+PlSHpa0QwqKkogjsh8lyNTvgwhKJUNBVv/UsDl1B3kmcerqgcw4WFFahWcBYxhOSA2od+edH0E= prisoner@prisoner-p452la | |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCuI8H3PMfOurwBGZZjdi3c3Dvw0wn9OBOQZAXSGnXaS5GfEge7uTZulq2DoQAlL5cqv8z3WK5Awa99FbXgnviel+486ku/40NkFYz5vUR4FfRm5HEaR8VfS6Vx+/MEBEjzYjHrLatSpInhDexFQFsMV4cUlbLLbc0PW1PxILTSFDj04mlz59ROKKoC4GU7zeCHf1vzI7OCuTTRqn1j0D1ZmDpvFi2MJGYNyqMRvWoQTplN4hrGE4y/IXvV6h1ozr7N/tgDTMm4O+5rOROPCzbywzZNwHX8rzfgLIqB9DDa20sF8FY1fHulSwu8Wiof0HLOFY3PaLYA5hnsM221coZ1EaosJ094KEN69+BwQjO8Q5eiyRiSmexe0DSMI0vY9xen7dLSCJxWxUcERds/xdvEWn |