add: code-server (VS-Code)

This commit is contained in:
2024-05-02 20:42:08 +00:00
parent cb3f03ccdf
commit bf5bb80fd5
3 changed files with 17 additions and 0 deletions

View File

@@ -58,6 +58,7 @@
- money-balancer
- atlantis-web-check
- ntfy
- code-server
- name: Copy AtlantisHub config
copy:
@@ -108,6 +109,7 @@
- atlantis-web-check
- ntfy
- ferchau-wscad
- code-server
- name: Copy compose templates
template:
@@ -132,6 +134,7 @@
- atlantis-web-check
- ntfy
- ferchau-wscad
- code-server
- name: Log into private registry
docker_login:
@@ -164,6 +167,7 @@
- atlantis-web-check
- ntfy
- ferchau-wscad
- code-server
- name: OAuth2Proxy directories
file:

View File

@@ -0,0 +1,12 @@
services:
code:
image: codercom/code-server
volumes:
- /data/code-server/projects/:/home/coder/project/
- /data/code-server/data:/data
environment:
- PASSWORD={{ code_server_password }}
ports:
- 5020:8080
command: code-server --auth password
restart: always