Removed mklink for git

This commit is contained in:
2024-11-06 12:39:13 -07:00
parent a6071a4073
commit 11bb8c848c
263 changed files with 19951 additions and 1508 deletions

View File

@ -1,12 +1,20 @@
---
type: "basic-note"
assigned: ""
created: "2024-01-06T01:25:36.079Z"
updated: "2024-01-06T01:25:36.079Z"
assigned: ''
created: 2024-01-06T01:25:36.079Z
progress: 0
tags: []
type: note
updated: 2024-07-26T22:56:25.892Z
---
# Code Server
## Studio Code Server
### Home Assistant Community Add-on: Visual Studio Code
```bash
sudo -i
apt remove code-server
@ -51,16 +59,88 @@ exit
```
```bash
# git bash
npm i -D code-server --unsafe-perm
cd "L:/Git/code-server/node_modules/.bin"
bash code-server
```
## Sub-tasks
```yaml Sat Jul 20 2024 16:00:56 GMT-0700 (Mountain Standard Time)
- [ ] code-server
### Relations
[Ubuntu](ubuntu.md)
services:
code-server:
container_name: code-server
environment:
- DEFAULT_WORKSPACE=/config/workspace #optional
- HASHED_PASSWORD= #optional
- PASSWORD=${PASSWORD} #optional
- PGID=1000
- PROXY_DOMAIN=${PROXY_DOMAIN} #optional
- PUID=1000
- SUDO_PASSWORD_HASH= #optional
- SUDO_PASSWORD=${SUDO_PASSWORD} #optional
- TZ=${TZ}
image: lscr.io/linuxserver/code-server:latest
ports:
- 8443:8443
restart: unless-stopped
volumes:
- code-config:/config
networks: {}
volumes:
code-config:
driver: local
```
```conf Sat Jul 20 2024 16:19:07 GMT-0700 (Mountain Standard Time)
PASSWORD=IWd6JtGv#qf0e9jcCYDg
PROXY_DOMAIN=code-server.ddns.net
SUDO_PASSWORD=IWd6JtGv#qf0e9jcCYDg
TZ=US/Phoenix
```
```bash
docker logs -f code-server
docker exec -it code-server /bin/bash
docker inspect -f '{{ index .Config.Labels "build_version" }}' code-server
docker inspect -f '{{ index .Config.Labels "build_version" }}' lscr.io/linuxserver/code-server:latest
```
```yaml
services:
msedge:
image: lscr.io/linuxserver/msedge:latest
container_name: msedge
security_opt:
- seccomp:unconfined #optional
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- EDGE_CLI=https://www.linuxserver.io/ #optional
volumes:
- msedge-config:/config
ports:
- 5006:3000
# - 3001:3001
shm_size: "1gb"
restart: unless-stopped
networks: {}
volumes:
msedge-config:
driver: local
```