c10bfaa87c
Credentials set via AUTH_USER / AUTH_PASS in docker-compose.yml. Entrypoint generates htpasswd at container start using openssl. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
5 lines
127 B
Bash
5 lines
127 B
Bash
#!/bin/sh
|
|
set -e
|
|
echo "${AUTH_USER}:$(openssl passwd -apr1 "${AUTH_PASS}")" > /etc/nginx/.htpasswd
|
|
exec nginx -g "daemon off;"
|