Alpine Linux Docker image for thelounge@master
Clone this Git repo and build the image with docker build -t mylounge .
.
You can set GIT_REV
to any branch, tag or commit hash when building image like this:
docker build --build-arg GIT_REV=v2.4.0 -t mylounge .
docker run -d --name lounge -v ~/.lounge:/root/.lounge -p 9000:9000 mylounge
Run add daGrevis
to add a user:
docker run --rm -it -v ~/.lounge:/root/.lounge mylounge lounge add daGrevis
To run Lounge in private mode, set public
to false
in ~/.lounge/config.js
and restart container.
Try docker-compose for managing deployments.
Here's what I do:
-
Build it on local machine (
docker build -t mylounge .
), -
Save image to local filesystem (
docker save -o mylounge.tar mylounge
), -
Send it to your server (
scp mylounge.tar dagrev.is:~
), -
Load image on your server (
docker load -i mylounge.tar
), -
Restart containers (
docker-compose restart
).