-
Notifications
You must be signed in to change notification settings - Fork 442
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
provide a working example for HTTPS (Docker) #102
Comments
I got it working as follows:
For the server address, use If you created the Let's Encrypt certificate with a service from your domain provider you might be able to download Edit: my service looks like this: crewlink:
image: crewlink
environment:
ADDRESS: mydomain.com
HTTPS: "true"
SSLPATH: /letsencrypt/
ports:
- 9736:9736
- 443:443
volumes:
- ./letsencrypt/:/letsencrypt/ |
@mhvis i give it a try and get back to you in the next days |
I was struggling a couple of days with it, because my knowledge in reverse proxy etc is very bad. What i did now is install nginx proxy manager and setup an reverse proxy to the crewlink server link. Only what i did is -e address=subdomain.mydomain.tld i can connect with the application but only need to test it with others. |
that one has worked for me version: "3"
services:
server:
build: .
image: ottomated/crewlink-server:build
container_name: crewlinkserver
volumes:
- /etc/letsencrypt/:/letsencrypt/
ports:
- 9736:9736
- 443:443
expose:
- 9736
- 443
environment:
ADDRESS: "https://crewlink.domain.tld"
NAME: crewlink
HTTPS: "true" #Enables https. You must place privkey.pem and fullchain.pem in your CWD.
SSLPATH: /letsencrypt/live/crewlink.domain.tld/ #Specifies an alternate path to SSL certificates.
restart: unless-stopped but I had to change the folders rights for /etc/lentsecrypt/live and archive to 705. Archive because in the live folder are only symlinks :( chmod -R 705 /etc/letsencrypt/{archive,live} |
Can someone provide a working example for the https connection?
I build the docker container with this
docker-compose.yml
:Exact steps:
Basically this works. I (and everyone else) can connect to
http://sub.domain.com:9736
. Also this websites shows up:Please notice the https!
Now i want to use
https
. But right now i can only access the voice relay chat overhttp
. Many questions here, because theReadme.md
didn't provide a good example for this:HTTPS:
enough? Or is this a boolean likeHTTPS: true
?CWD
in this case? The crewlink-server directory?privkey.pem
andfullchain.pem
My domain
https://sub.domain.com
has actually a lets encrypt certificate, created with a service of my domain provider. Sohttps://sub.domain.com
is reachable with the browser.So, short: Please provide a working example for creating
privkey.pem
andfullchain.pem
and for the https connection (docker-compose).The text was updated successfully, but these errors were encountered: