Skip to content

Instantly share code, notes, and snippets.

@gblee87
Created August 16, 2023 13:46
Show Gist options
  • Save gblee87/efc8a8b53ad03daee688a384bc71a20d to your computer and use it in GitHub Desktop.
Save gblee87/efc8a8b53ad03daee688a384bc71a20d to your computer and use it in GitHub Desktop.
install visual studio code server on synology (Reverse proxy must be set up in the scenario after installation)
version: "3"
services:
code-server:
image: linuxserver/code-server:latest
container_name: code-server
environment:
- PUID=1000
- PGID=1000
- TZ=Asia/Seoul
- LANG=en_us.UTF-8
- SHELL=/bin/bash
- PASSWORD=[Please Change This!!!]
- SUDO_PASSWORD=[Please Change This!!!]
- DEFAULT_WORKSPACE=/var/services/homes/gblee/util/docker/doc-compose/visual-studio-code/workspaces
volumes:
- /var/services/homes/gblee/util/docker/doc-compose/visual-studio-code/config:/config
ports:
- 58443:8443
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment