Compare commits

...

2 Commits

Author SHA1 Message Date
5408d02358 about private mode 2025-09-05 20:53:01 +00:00
3489d16971 remove commented out line 2025-09-05 20:39:25 +00:00
2 changed files with 5 additions and 1 deletions

View File

@ -11,3 +11,8 @@ docker build -t thelounge-ngircd-tor:edge .
docker run --name thelounge-tor -v ./data:/data --restart unless-stopped thelounge-ngircd-tor:edge
```
It comes in "public" mode by default, but you can switch to "private" mode, which is nothing but requiring user and password from thelounge users.
To add users after the change in mode use the following command:
```
docker exec -ti <your container id> su-exec app sh -c "export THELOUNGE_HOME=/data/thelounge; thelounge add <new user name>"
```

View File

@ -34,7 +34,6 @@ ngircd -f ${NGIRCD_CFG} &
# Prepare The Lounge config from template if missing
THELOUNGE_CFG=${THELOUNGE_DIR}/config.js
if [ ! -f "${THELOUNGE_CFG}" ]; then
#THELOUNGE_NICK=${THELOUNGE_NICK:-DuckUser}
sed "s|%HS_NAME%|${HS_NAME}|g" "/thelounge-config.js.template" > "${THELOUNGE_CFG}"
chown app:app "${THELOUNGE_CFG}"
fi