Samuel-Risner / notes-on-code-server

How I set up code-server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

notes-on-code-server

Things that I found useful.

Info

I used the LinuxServer.io Docker image: linuxserver/code-server:4.16.1

More reading

You can find the documentation from Linuxserver.io under:

The original Repo and documentation are also quite useful:

Setting up the container

Images

I use different images for all my projects, by doing that I can also specify all the requirements needed for running them.

Port forwarding

The server uses port 8443.

Environment variables

I set DEFAULT_WORKSPACE to /workspace, otherwise the default workspace would be under the config folder.

Other variables that you should set:

  • PGID
  • PUID
  • PASSWORD
  • SUDO_PASSWORD

Binds

You should bind these:

  • /config
  • /workspace

To something on the host.

Dockerfiles and extensions that I use

C++

See the folder c++.

Python

See the folder python.

About

How I set up code-server.

License:MIT License


Languages

Language:Dockerfile 100.0%