Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker SSL setup #303

Open
ablacklama opened this issue Nov 27, 2023 · 0 comments
Open

docker SSL setup #303

ablacklama opened this issue Nov 27, 2023 · 0 comments

Comments

@ablacklama
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant