Compare commits
2 Commits
c8cef76eb6
...
5408d02358
Author | SHA1 | Date | |
---|---|---|---|
5408d02358 | |||
3489d16971 |
@ -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>"
|
||||
```
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user