lasthourcloud/templates/compose/code-server.yaml
2024-03-12 15:09:24 +01:00

25 lines
793 B
YAML

# documentation: https://coder.com/docs/code-server/latest
# slogan: Code-Server is a web-based code editor that enables remote coding and collaboration from any device, anywhere.
# tags: code, editor, remote, collaboration
# logo: svgs/code-server.svg
# port: 8443
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
environment:
- SERVICE_FQDN_CODESERVER_8443
- PUID=1000
- PGID=1000
- TZ=Europe/Madrid
- PASSWORD=$SERVICE_PASSWORD_64_PASSWORDCODESERVER
- SUDO_PASSWORD=$SERVICE_PASSWORD_SUDOCODESERVER
- DEFAULT_WORKSPACE=/config/workspace
volumes:
- code-server-config:/config
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8443"]
interval: 2s
timeout: 10s
retries: 15