Docker 搭建thelounge 实现IRC24小时在线

2021-09-14T11:49:55
  1. 下载docker镜像

docker pull linuxserver/thelounge

  1. 运行docker镜像

docker run -d --name=thelounge -e PUID=1000 -e PGID=1000 -e TZ=Asia/Shanghai -p 9000:9000 -v /opt/thelounge:/config --restart unless-stopped linuxserver/thelounge

  1. 设置仅允许指定用户

vim /opt/thelounge/config.js
修改其中的public为false,然后使用docker restart thelounge,重启容器

  1. 添加自己的用户

docker exec -it thelounge s6-setuidgid abc thelounge add user
user可以用你喜欢的用户名替代,执行这一条以后就会提示你输入密码。

当前页面是本站的「Baidu MIP」版。发表评论请点击:完整版 »