Logo
Explore Help
Sign In
GNUsocial/gnu-social
4
0
Fork 1
You've already forked gnu-social
Code Issues Releases Wiki Activity
gnu-social/docker/db/wait_for_db.sh

19 lines
289 B
Bash
Raw Normal View History

[TOOLS][SSL] Added bin/boostrap_certificates.sh, allowing for easy configuration of SSL certificates with Let's Encrypt
2020-05-05 01:23:55 +00:00
#!/bin/sh
[DOCKER] Fixed docker environment to properly configure the app environment
2020-05-06 12:04:59 +00:00
case $DBMS in
[TOOLS][SSL] Added bin/boostrap_certificates.sh, allowing for easy configuration of SSL certificates with Let's Encrypt
2020-05-05 01:23:55 +00:00
"postgres")
[TOOLS][DOCKER] Further fixes in the docker environment and fixed the install script
2020-05-06 15:32:07 +00:00
CMD="pg_isready -hdb -q -Upostgres"
[TOOLS][SSL] Added bin/boostrap_certificates.sh, allowing for easy configuration of SSL certificates with Let's Encrypt
2020-05-05 01:23:55 +00:00
;;
[TOOLS] Updated install script to also support mariadb
2020-05-06 16:03:48 +00:00
"mariadb")
CMD="mysqladmin ping --silent -hdb -uroot -p${MYSQL_ROOT_PASSWORD}"
;;
[TOOLS][SSL] Added bin/boostrap_certificates.sh, allowing for easy configuration of SSL certificates with Let's Encrypt
2020-05-05 01:23:55 +00:00
*)
exit 1
esac
while ! $CMD;
do
echo "Waiting for DB..."
sleep 3
done
Copy Permalink
Powered by Gitea Page: 27ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API