Skip to content

Instantly share code, notes, and snippets.

@bonehead
Created November 17, 2020 09:38
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 bonehead/e28a39b9f95e6ccb5e6f017d759b76b5 to your computer and use it in GitHub Desktop.
Save bonehead/e28a39b9f95e6ccb5e6f017d759b76b5 to your computer and use it in GitHub Desktop.
Code-Server
---
version: "2.1"
services:
code-server:
image: ghcr.io/linuxserver/code-server
container_name: code-server
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Kolkata
- PASSWORD=password #optional
# - SUDO_PASSWORD=password #optional
# - PROXY_DOMAIN=code-server.my.domain #optional
volumes:
- ./config:/config
ports:
- 8443:8443
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment