added rootfs to code-server container
This commit is contained in:
@@ -11,6 +11,7 @@ services:
|
|||||||
- DEFAULT_WORKSPACE=/config/workspace
|
- DEFAULT_WORKSPACE=/config/workspace
|
||||||
volumes:
|
volumes:
|
||||||
- code-server_config:/config
|
- code-server_config:/config
|
||||||
|
- code-server_root:/root
|
||||||
- has_config:/mnt/has_config
|
- has_config:/mnt/has_config
|
||||||
- nginx_conf:/mnt/nginx_config
|
- nginx_conf:/mnt/nginx_config
|
||||||
- mosquitto_config:/mnt/mosquitto_config
|
- mosquitto_config:/mnt/mosquitto_config
|
||||||
@@ -23,6 +24,7 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
code-server_config:
|
code-server_config:
|
||||||
|
code-server_root:
|
||||||
has_config:
|
has_config:
|
||||||
name: has_app_config
|
name: has_app_config
|
||||||
external: true
|
external: true
|
||||||
|
|||||||
15
setup.sh
15
setup.sh
@@ -1,15 +0,0 @@
|
|||||||
|
|
||||||
|
|
||||||
docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer:/data portainer/portainer-ce
|
|
||||||
docker container list
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
apt install sshfs
|
|
||||||
|
|
||||||
#etc/fstab
|
|
||||||
#sshfs#media@nas.lan:/home/media /mnt/media@sshfs:nas.lan fuse defaults,_netdev,allow_other,follow_symlinks 0 0
|
|
||||||
|
|
||||||
docker volume create --driver local --opt type=none --opt device=/mnt/media@sshfs:nas.lan --opt o=bind musiccd music
|
|
||||||
Reference in New Issue
Block a user