Skip to content

Instantly share code, notes, and snippets.

@i40sys
Created August 30, 2022 04:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save i40sys/5866021b8f859e5590b5e529596f2a05 to your computer and use it in GitHub Desktop.
Save i40sys/5866021b8f859e5590b5e529596f2a05 to your computer and use it in GitHub Desktop.
VSCode Web - docker-compose.yml
---
version: "2.1"
services:
code-server:
image: lscr.io/linuxserver/code-server:latest
container_name: code-server
environment:
- PUID=0
- PGID=0
- TZ=Europe/Madrid
- 'PASSWORD=The2password.' #optional
#- HASHED_PASSWORD= #optional
#- SUDO_PASSWORD= #optional
#- SUDO_PASSWORD_HASH= #optional
- PROXY_DOMAIN=code.joor.net #optional
- DEFAULT_WORKSPACE=/config/workspace #optional
volumes:
- ./config:/config
- /:/host
- /root/.bashrc:/config/.bashrc
- ./config/.ssh:/root/.ssh
restart: unless-stopped
ports:
- 8443:8443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment