docker-portainer/install-code-on-portainer/docker-compose-code.yml

19 lines
512 B
YAML

services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- PASSWORD=password
- HASHED_PASSWORD= #optional
- SUDO_PASSWORD=password
- SUDO_PASSWORD_HASH= #optional
- PROXY_DOMAIN=Domain #optional
- DEFAULT_WORKSPACE=/config/workspace #optional
volumes:
- /path/to/appdata/config:/config
ports:
- 8443:8443
restart: unless-stopped