Add root volume mount and update ignore/README

This commit is contained in:
ub
2026-02-06 08:12:05 +08:00
parent 5cf3fa0318
commit 2e1f4f8800
3 changed files with 6 additions and 1 deletions
+2 -1
View File
@@ -1,2 +1,3 @@
workspace/
config/
config/
root/
+3
View File
@@ -0,0 +1,3 @@
```shell
docker exec -it code-server /init.d/run.sh
```
+1
View File
@@ -13,6 +13,7 @@ services:
- ./config:/config
- ./init.d:/init.d
- ./workspace:/workspace
- ./root:/root
- /var/run/user/1000/docker.sock:/run/docker.sock
ports:
- 58333:8443