docker SSL setup
ablacklama opened this issue · 0 comments
ablacklama commented
Hey, i'm trying to get this setup with docker and ssl but I can't find instructions anywhere on how to do that. I'll post what i've tried below.
Here's the command i'm currently trying:
sudo docker run -p 80:8080 -p 443:443 --env-file=.env -v ~
/cert.pem:/usr/src/shynet/cert.pem -v ~/privkey.pem:/usr/src/shynet/privkey.pem --en
trypoint ./ssl.webserver.sh milesmcc/shynet:latest
I've been poking around the files and it looks i'll probably need to run using --entrypoint=./ssl.webserver.sh
since it doesn't look like there's another way to tell it to use that instead of webserver.sh
. And i'm passing my cert.pem
and privkey.pem
into docker. i've set SCRIPT_USE_HTTPS=True
in the .env
.
I'm really not sure what to do at this point. It works when i run it normally without ssl, but no response from the server with the current command.