代码拉取完成,页面将自动刷新
同步操作将从 infrastlabs/docker-headless 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
##Prod: Change Password############################
# SSH_PASS=ChangeMe VNC_PASS=ChangeMe2 VNC_PASS_RO=ChangeMe3
# echo "headless:$SSH_PASS" |sudo chpasswd
# echo -e "$VNC_PASS\n$VNC_PASS\ny\n$VNC_PASS_RO\n$VNC_PASS_RO" |sudo vncpasswd /etc/xrdp/vnc_pass; sudo chmod 644 /etc/xrdp/vnc_pass
#
# sed -i "s/password=.*/password=$SV_ADMIN_PASS/g" /etc/supervisor/supervisord.conf #restartContainer
###################################################
version: '2.4'
services:
latest:
image: infrastlabs/docker-headless:deb12
restart: unless-stopped
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v 'Running' && exit 1 || exit 0 "]
shm_size: 1g
privileged: true
network_mode: host
environment:
- SSH_PASS=headless
- VNC_PASS=headless
- VNC_PASS_RO=View123
- VNC_OFFSET=21
- PORT_SSH=21022
- PORT_VNC=21081
- PORT_RDP=21089
- TZ=Asia/Shanghai
- L=zh_CN
volumes:
- /_ext:/_ext
- /opt:/opt
- /:/mnt
sogou:
image: infrastlabs/docker-headless:deb12-sogou
restart: unless-stopped
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v 'Running' && exit 1 || exit 0 "]
shm_size: 1g
privileged: true
network_mode: host
environment:
- VNC_OFFSET=22 #5900+12
- PORT_SSH=22022
- PORT_VNC=22081
- PORT_RDP=22089
volumes:
- /_ext:/_ext
- /opt:/opt
- /:/mnt
core:
image: registry.cn-shenzhen.aliyuncs.com/infrastlabs/docker-headless:deb12-core
restart: unless-stopped
healthcheck:
test: ["CMD", "bash", "-c", "sv status |grep -v 'Running' && exit 1 || exit 0 "]
shm_size: 1g
privileged: true
network_mode: host
environment:
- VNC_OFFSET=23
- PORT_SSH=23022
- PORT_VNC=23081
- PORT_RDP=23089
volumes:
- /_ext:/_ext
- /opt:/opt
- /:/mnt
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。