how to add password using docker-compose.yml file?
Please tell me how to add a password variable in the docker-compose.yml file.
13 Replies
Hi, what version of Homarr do you use? Do you use latest or dev?
🚀 Installation | Homarr Docs
Homarr can be installed in many ways. For most users, Installation using Docker will be sufficient and the easiest.
this one docker compose file
https://stackoverflow.com/a/50201232
I'd recommend you to put them directly in the docker-compose, but an external .env file works too.
Stack Overflow
How can I use environment variables in docker-compose?
I would like to be able to use environment variables inside docker-compose.yml, with values passed in at the time of docker-compose up. This is the example.
I am doing this today with a basic docke...
🐳 Docker Configuration | Homarr Docs
Homarr offers a Docker Container, which can be run on any compatible system, such as 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
.docker run \
--name homarr \
--restart unless-stopped \
--tz Europe/Paris \
-p 7575:7575 \
-v <your-path>/homarr/configs:/app/data/configs \
-v <your-path>/homarr/icons:/app/public/icons \
-d ghcr.io/ajnart/homarr:latest
here is p for port so what will be for password
No? You said, that you use docker compose?
I am confused. Do you use compose or run?
is this correct??
No.
Like in the link I sent above:
Okay, thanks, it worked.
@Ke Launda if you want you can become an insider in #✨・roles , change your homarr version to :dev instead of latest and try out the newest version of authentification that has a LOT of new features 😉
Okay, I will
Thanks 😄