My personal docker-compose colleciton hosted on raspberry-pi
cd /srv
git clone https://github.com/MakerTim/biescloud
docker network create scoobydoo
cd /srv/webs
nano webs/host/.secrets/db_root_pwd.txt
nano webs/host/.secrets/mysql_pwd.txt
docker compose up -d
cd /srv/files
docker compose up -d
touch /srv/files/.env
echo HTA_MAR=$(tr -dc A-Za-z0-9 </dev/urandom | head -c 13) >> /srv/files/.env
echo HTA_TIM=$(tr -dc A-Za-z0-9 </dev/urandom | head -c 13) >> /srv/files/.env
echo HTA_LOT=$(tr -dc A-Za-z0-9 </dev/urandom | head -c 13) >> /srv/files/.env
echo HTA_RUR=$(tr -dc A-Za-z0-9 </dev/urandom | head -c 13) >> /srv/files/.env
sed -n '/^HTA_MAR/s/.*=//p' /srv/files/.env | openssl passwd -apr1 -stdin > /srv/files/.htpasswd-margret
sed -n '/^HTA_TIM/s/.*=//p' /srv/files/.env | openssl passwd -apr1 -stdin > /srv/files/.htpasswd-tim
sed -n '/^HTA_LOT/s/.*=//p' /srv/files/.env | openssl passwd -apr1 -stdin > /srv/files/.htpasswd-lotte
sed -n '/^HTA_RUR/s/.*=//p' /srv/files/.env | openssl passwd -apr1 -stdin > /srv/files/.htpasswd-rurik
cd /srv/vpn
docker comopse up -d
https://nginxproxymanager.com/
initial credentials:
Email: [email protected]
Password: changeme
- Hosts > Proxy Hosts > Add Proxy Host
files- Domain Names: domain.nl
- Scheme: http
- Hostname: web
- Port: 80
- > SSL
- Request Lets Encrypt
- ✅ Force SSL
- ✅ HTTP/2
- ✅ HSTS