mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-30 15:31:12 +00:00
21 lines
593 B
YAML
21 lines
593 B
YAML
---
|
|
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
|