Add code-server

This commit is contained in:
Isaac Shoebottom 2024-06-29 01:01:54 -03:00
parent 9c41e5178d
commit 6f20ebeda6
2 changed files with 17 additions and 0 deletions

4
code-server/.env.example Normal file
View File

@ -0,0 +1,4 @@
PASSWORD=<webui_password>
HASHED_PASSWORD=<webui_password_hash>
SUDO_PASSWORD=<sudo_password>
SUDO_PASSWORD_HASH=<sudo_password_hash>

View File

@ -0,0 +1,13 @@
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
- TZ=America/Moncton
- PROXY_DOMAIN=code.shoebottom.ca #optional
- DEFAULT_WORKSPACE=/config/workspace #optional
volumes:
- /docker/appdata/code-server/config:/config
ports:
- 8086:8443
restart: unless-stopped