--- version: "2.1" services: code-server: image: lscr.io/linuxserver/code-server:latest container_name: code-server environment: - PUID=1000 - PGID=1000 - TZ=Europe/Berlin - PASSWORD=MyStrongLoginPassword - SUDO_PASSWORD=MyOptionalStrongSudoPassword #optional #- SUDO_PASSWORD_HASH= #optional - PROXY_DOMAIN=vscode.example.com #optional - DEFAULT_WORKSPACE=/config/workspace #optional volumes: - ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/vscode/config:/config ports: - 8443:8443 restart: unless-stopped