Not Serving HTTPS #2595
-
I am trying to dockerize the code-server for armv7 systems. When I run the |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
I had the same issue this morning, which is how I ended up here. A guide I was following was missing this line in the docker compose file under # HTTP Routers
Not sure if this will help or not, but it worked for me. |
Beta Was this translation helpful? Give feedback.
-
@fergy003 Could you share the guide you were using too? |
Beta Was this translation helpful? Give feedback.
-
https://www.smarthomebeginner.com/wordpress-on-docker-traefik/
Before the main focus of this guide they mention vscode and the
docker-compose file
…On Thu, Dec 24, 2020, 13:13 Agastya Asthana ***@***.***> wrote:
@fergy003 <https://github.com/fergy003> Could you share the guide you
were using too?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2513 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJI6VBWNENV44YH2CW2DVJTSWOADFANCNFSM4VHXSOSA>
.
|
Beta Was this translation helpful? Give feedback.
-
There's something else wrong with your setup. That line is expected. |
Beta Was this translation helpful? Give feedback.
-
@Agastya-Asthana STEP 1 STEP 2 STEP 3 STEP 4 @Agastya-Asthana ### Please mark this discussion as answered if your query has been solved. |
Beta Was this translation helpful? Give feedback.
@Agastya-Asthana
Here is a very good docker-run to help you with HTTP
STEP 1
Generate the self signed certificate file
GENERATE CRT AND KEY FILE IN THE CERTS DIRECTORY
openssl req
-newkey rsa:2048 -nodes -keyout certs.key
-x509 -days 365 -out certs.crt
STEP 2
Make a certs folder in your current working directory and then use below docker run
Replace your-username-here in the below docker-run with your current user.
STEP 3$(pwd)/CodeServer/certs/certs.crt:/home/coder/cert.crt -v $ (pwd)/CodeServer/certs/cert…
docker run -it --rm --name code-server-https -p 0.0.0.0:8080:8080 -v "$(pwd)/CodeServer/.config:/home/coder/.config" -v "$(pwd)/VSCodes:/home/coder/project" -u "$(id -u):$(id -g)" -v