19 lines
428 B
YAML
19 lines
428 B
YAML
---
|
|
version: "2.1"
|
|
services:
|
|
code-server:
|
|
image: ghcr.io/linuxserver/code-server:4.0.1
|
|
container_name: code-server4
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- TZ=Europe/London
|
|
- SUDO_PASSWORD=password #optional
|
|
- SUDO_PASSWORD_HASH= #optional
|
|
volumes:
|
|
- ./config:/config
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
ports:
|
|
- 8444:8443
|
|
restart: unless-stopped
|