Docker 搭建thelounge 实现IRC24小时在线

  1. 下载docker镜像
    docker pull linuxserver/thelounge
  2. 运行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
  3. 设置仅允许指定用户
    vim /opt/thelounge/config.js
    修改其中的public为false,然后使用docker restart thelounge,重启容器
  4. 添加自己的用户
    docker exec -it thelounge s6-setuidgid abc thelounge add user
Tagged on: ,

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.