hello,
i want to install roon-server using official docker image… Docker but i dont wanna use tradition user/pass but certificates…
So i am wondering how to pass these flags to the docker
–tls turn on TLS support
–tls-cert string TLS certificate path
–tls-key string TLS key path
Also wiki documented steps - where priv_key was generated, in that case whats tls-cert?
openssl req -newkey rsa:2048 -nodes -x509 -keyout private_key -out public_key -days 365 -addext “subjectAltName = IP:127.0.0.1,DNS:yourdomain.com”
Last one … is regarding the docker params
what exactly is /my/data - is it hardcoded for docker somehow …
docker run -p 8000:8000 -v /my/data:/data --name rest_server restic/rest-server
bc doc says it will store data to /data … so no clue whats /my/data/
edit2:
seems it can be set via nginx proxy … so in that case all i do is use user/pass and tls will be handled by nging ,… right?
Still when i want to script commands … i will have to put user/pass into the restic backup cmd… isnt that a sec flaw?
Thanks!