Skip to content

Instantly share code, notes, and snippets.

@enric1994
Last active November 12, 2021 10:44
Show Gist options
  • Save enric1994/5fbb3827d3dddc3bbfffe47ec5703d8f to your computer and use it in GitHub Desktop.
Save enric1994/5fbb3827d3dddc3bbfffe47ec5703d8f to your computer and use it in GitHub Desktop.
VSCode in the browser
# Config file
bind-addr: 127.0.0.1:8080
auth: password
password: yourpassword
cert: false
vscode:
image: codercom/code-server:latest
ports:
- "8080:8080"
volumes:
- ../:/my-code/
- ./:/home/coder/.config/code-server/
restart: always
user: "1000:1000"
# docker-compose up -d
# Visit: https://IP:8080/?folder=/my-code/my-repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment