How to Password Protect Page
Just deployed via Docker, how do I password protect? believe its a env_ string somewhere
9 Replies
Hello @mrmoore. ,
you are right. It's an environment variable.
Please read our documentation before posting any new questions in the future 🙂
https://homarr.dev/docs/advanced-configuration/docker-configuration#docker-environment-variables
Docker Configuration | Homarr Documentation
Homarr offers a Docker container, which can be used for serving from any compatible linux system, unRAID, Kubernetes and many more systems! Our Docker container is based on the
node:16-alpine
image and serves per standard on the port 7575.Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
Yes, that's the correct link
it doesnt work for me
@manicraft1001
1. Don't tag. We'll respond when we have time
2. Don't just write "it doesn't work". Describe, what you've tried, what you'd expect and what the actual behaviour is
ok
sending docker compose
**version: '3'
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /root/dockerapps/homarr/configs:/app/data/configs
- /root/dockerapps/homarr/icons:/app/public/icons
- /var/run/docker.sock:/var/run/docker.sock
environment:
- PASSWORD:abc003
- TZ=Asia/Dhaka
ports:
- '7575:7575'
**
Replace ":" with "="
Then it should work
okei
i seem to be blind
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View