code-server works

This commit is contained in:
Waylon Walker 2023-11-05 14:27:08 -06:00
parent c9864124e1
commit 225ec58243
No known key found for this signature in database
GPG key ID: 66E2BF2B4190EFE4
3 changed files with 173 additions and 0 deletions

View file

@ -0,0 +1,23 @@
version: "2.1"
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- PASSWORD=password #optional
# - HASHED_PASSWORD= #optional
- SUDO_PASSWORD=password #optional
# - SUDO_PASSWORD_HASH= #optional
- PROXY_DOMAIN=code-server.wayl.one #optional
- DEFAULT_WORKSPACE=/config/workspace #optional
volumes:
- code-server-data:/config
labels:
kompose.service.expose: code-server.wayl.one
ports:
- 8443
volumes:
code-server-data: