Created
November 19, 2019 23:43
-
-
Save muammar/7675e62efd651c81baeea0694686dbef to your computer and use it in GitHub Desktop.
example with https docker code-server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run -it -p 0.0.0.0:8080:8080 -e PASSWORD=yourpassword \ | |
-v /etc/letsencrypt/live/domain.dev/fullchain.pem:/home/coder/fullchain.pem \ | |
-v /etc/letsencrypt/live/domain.dev/privkey.pem:/home/coder/privkey.pem \ | |
-v /home/youruser:/home/coder/ \ | |
codercom/code-server:v2 --cert /home/coder/fullchain.pem --cert-key /home/coder/privkey.pem --auth password |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment