diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 00000000..203f96f6 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,13 @@ +version: "3" + +services: + code-server: + container_name: code-server + image: codercom/code-server + ports: + - "8080:8080" + volumes: + - "${PWD}:/home/coder/project" + - "${HOME}/.local/share/code-server:/home/coder/.local/share/code-server" + environment: + PASSWORD: ${PASSWORD}