From 68238bcd6c172dd6965a34b3804bc15ee4f89f12 Mon Sep 17 00:00:00 2001 From: Mathieu Lecoiffier Date: Sun, 20 Oct 2024 15:08:19 +0000 Subject: [PATCH] feat: add code --- code/docker-compose.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 code/docker-compose.yml diff --git a/code/docker-compose.yml b/code/docker-compose.yml new file mode 100644 index 0000000..605d5e9 --- /dev/null +++ b/code/docker-compose.yml @@ -0,0 +1,20 @@ +--- +services: + code-server: + image: lscr.io/linuxserver/code-server:latest + container_name: code-server + environment: +# - DOCKER_MODS='docker.io/linuxserver/mods:universal-docker|lscr.io/linuxserver/mods:code-server-docker|docker.io/linuxserver/mods:code-server-extension-arguments' + - DOCKER_MODS=linuxserver/mods:universal-docker|linuxserver/mods:code-server-docker|linuxserver/mods:code-server-extension-arguments + - VSCODE_EXTENSION_IDS=felipecaputo.git-project-manager|mhutchie.git-graph|ms-azuretools.vscode-docker +# - DOCKER_MODS_FORCE_REGISTRY=true + - PUID=0 + - PGID=0 + - TZ=Etc/UTC + volumes: + - /volume1/docker/code/config:/config + - /volume1/docker/code/workspace:/home/coder/workspace + - /var/run/docker.sock:/var/run/docker.sock + ports: + - 8090:8443 + restart: unless-stopped