sql auth and healthcheck
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2024-02-11 21:09:40 +01:00
parent 9fca459f93
commit 8289114ee6
6 changed files with 139 additions and 2 deletions

7
rootfs/app/healthcheck.sh Executable file
View File

@@ -0,0 +1,7 @@
#!/bin/sh
USER=healthcheck
LFTP_PASSWORD=$(cat /app/healthcheck.pwd)
lftp -e "set ssl-allow true; set ftp:ssl-force true; set ftp:passive-mode true;set ssl:verify-certificate false;open -u ${USER},${LFTP_PASSWORD} ftp://127.0.0.1; ls ; bye" > /dev/null
echo $?