bind mounting admin conf and a bin to set password

This commit is contained in:
lars-hagen
2020-01-09 00:17:01 +01:00
parent 277a216f71
commit be823d37cc
25 changed files with 2832 additions and 3 deletions
+3
View File
@@ -0,0 +1,3 @@
#!/usr/bin/env bash
docker-compose exec litespeed su -s /bin/bash lsadm -c 'echo "admin:$(/usr/local/lsws/admin/fcgi-bin/admin_php* -q /usr/local/lsws/admin/misc/htpasswd.php '${1}')" > /usr/local/lsws/admin/conf/htpasswd';