Initial commit
This commit is contained in:
5
frontend/entrypoint.sh
Normal file
5
frontend/entrypoint.sh
Normal file
@@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
USER="${NETDOC_USER:-admin}"
|
||||
PASS="${NETDOC_PASS:-netdoc}"
|
||||
printf "%s:%s\n" "$USER" "$(openssl passwd -apr1 "$PASS")" > /etc/nginx/.htpasswd
|
||||
exec nginx -g "daemon off;"
|
||||
Reference in New Issue
Block a user