coolify/templates/compose/code-server.yaml

25 lines
793 B
YAML
Raw Normal View History

2024-02-20 15:07:12 +01:00
# 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.
2023-10-24 12:33:49 +02:00
# tags: code, editor, remote, collaboration
2024-02-20 15:07:12 +01:00
# logo: svgs/code-server.svg
# port: 8443
2023-10-19 10:51:03 +02:00
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
environment:
- SERVICE_FQDN_CODESERVER_8443
2023-10-19 10:51:03 +02:00
- 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:
2024-05-17 10:11:55 +02:00
test: ["CMD", "curl", "-f", "http://127.0.0.1:8443"]
2023-10-19 10:51:03 +02:00
interval: 2s
timeout: 10s
retries: 15