加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose-livecd.yml 2.64 KB
一键复制 编辑 原始数据 按行查看 历史
##Entry: web:10181, ssh:10122, rdp:10189###########
# cmate: http://192.168.0.x:10181
# cxfce: http://192.168.0.x:10281
# cinnamon: http://192.168.0.x:10381
# gnome: http://192.168.0.x:10481
# plasma: http://192.168.0.x:10581
###################################################
version: '2.4'
services:
cmate:
image: infrastlabs/docker-headless:cmate
restart: unless-stopped
shm_size: 1g
privileged: true
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v 'Running' && exit 1 || exit 0 "]
ports:
- "10181:10081"
- "10189:10089"
tmpfs:
- /run
- /run/lock
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
- /_ext:/_ext
- /:/mnt
cxfce:
image: infrastlabs/docker-headless:cxfce
restart: unless-stopped
shm_size: 1g
privileged: true
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v 'Running' && exit 1 || exit 0 "]
ports:
- "10281:10081"
- "10289:10089"
tmpfs:
- /run
- /run/lock
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
- /_ext:/_ext
- /:/mnt
cinna:
image: infrastlabs/docker-headless:cinna
restart: unless-stopped
shm_size: 1g
privileged: true
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v 'Running' && exit 1 || exit 0 "]
ports:
- "10381:10081"
- "10389:10089"
tmpfs:
- /run
- /run/lock
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
- /_ext:/_ext
- /:/mnt
gnome:
image: infrastlabs/docker-headless:gnome
restart: unless-stopped
shm_size: 1g
privileged: true #xrdp thinclient_drives
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v 'Running' && exit 1 || exit 0 "]
ports:
- "10481:10081"
- "10489:10089"
cap_add:
- SYS_BOOT
- SYS_ADMIN
# https://github.com/docker-archive/libcontainer/blob/master/SPEC.md#security
# $ cat ct_caps.txt2 |cut -d' ' -f1 |grep -v "^$" |sort |sed "s/CAP_/- /g"
tmpfs:
- /run
- /run/lock
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
- /_ext:/_ext
- /:/mnt
plasma:
image: infrastlabs/docker-headless:plasma
restart: unless-stopped
shm_size: 1g
privileged: true
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v 'Running' && exit 1 || exit 0 "]
ports:
- "10581:10081"
- "10589:10089"
# - "10522:10022"
tmpfs:
- /run
- /run/lock
- /tmp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup
- /_ext:/_ext
- /:/mnt
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化