-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
30 lines (29 loc) · 878 Bytes
/
compose.yml
File metadata and controls
30 lines (29 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
restart: unless-stopped
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.my.domain #optional
# - DEFAULT_WORKSPACE=/config/workspace #optional
volumes:
- ../data/codeserver:/config
networks:
- caddy
# ports:
# - 8443:8443
# labels:
# traefik.enable: "true"
# traefik.http.routers.code-server.rule: Host(`code.marcpartensky.com`)
# traefik.http.routers.code-server.entrypoints: web
# traefik.http.services.code-server.loadbalancer.server.port: 8443
networks:
caddy:
external: true