patschi / parsedmarc-dockerized

Dockerized self-initializing parsedmarc docker stack for lazy people
GNU General Public License v3.0
69 stars 19 forks source link

use htpassword #15

Closed alainseys closed 10 months ago

alainseys commented 10 months ago

Hi ,

is there a way to use htpassword on the nginx because i run the docker containers i get me straigt to the details page an evryone can access this.

so my idea was to add htpassword but how to i transfer the htpasswd to the docker container?

alainseys commented 10 months ago

you can close this issue my .htpassword had not the . in front of the file and adding a volume mount in docker compse - ./data/conf/nginx/.htpasswd:/etc/nginx/.htpasswd:ro

this works as expected