Last active
November 12, 2021 10:44
-
-
Save enric1994/5fbb3827d3dddc3bbfffe47ec5703d8f to your computer and use it in GitHub Desktop.
VSCode in the browser
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Config file | |
bind-addr: 127.0.0.1:8080 | |
auth: password | |
password: yourpassword | |
cert: false |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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