https://github.com/daGrevis/docker-thelounge
Alpine Linux Docker image for thelounge@master
https://github.com/daGrevis/docker-thelounge
alpine chat docker irc lounge lounge-irc self-hosted thelounge
Last synced: 3 months ago
JSON representation
Alpine Linux Docker image for thelounge@master
- Host: GitHub
- URL: https://github.com/daGrevis/docker-thelounge
- Owner: daGrevis
- Created: 2016-08-26T16:55:13.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-02-11T20:33:08.000Z (over 7 years ago)
- Last Synced: 2024-10-23T18:11:47.379Z (7 months ago)
- Topics: alpine, chat, docker, irc, lounge, lounge-irc, self-hosted, thelounge
- Homepage:
- Size: 21.5 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# docker-thelounge
Alpine Linux Docker image for
[thelounge](https://github.com/thelounge/lounge)@[master](https://github.com/thelounge/lounge/commits/master)## Building Image
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 .
```## Running Container
```
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.## Deployment
Try [docker-compose](https://github.com/daGrevis/daGrev.is/blob/f9f3fab452759b517520f72932bfca47e3e3abc4/docker-compose.yml#L51-L57) for managing deployments.
Here's what I do:
1) Build it on local machine (`docker build -t mylounge .`),
2) Save image to local filesystem (`docker save -o mylounge.tar mylounge`),
3) Send it to your server (`scp mylounge.tar dagrev.is:~`),
4) Load image on your server (`docker load -i mylounge.tar`),
5) Restart containers (`docker-compose restart`).