A self-hosted chat app for small teams.
docker run --name some-letschat --link some-mongo:mongo -d sdelements/lets-chat
If you'd like to be able to access the instance from the host without the container's IP, standard port mappings can be used:
docker run --name some-letschat --link some-mongo:mongo -p 8080:8080 -d sdelements/lets-chat
Then, access it via http://localhost:8080
or http://host-ip:8080
in a browser.
Example docker-compose.yml for sdelements/lets-chat
:
app:
image: sdelements/lets-chat
links:
- mongo
ports:
- 8080:8080
- 5222:5222
mongo:
image: mongo:latest
Run docker-compose up
, wait for it to initialize completely, and visit http://localhost:8080
or http://host-ip:8080
.
You can config your Let's Chat Docker instance using one of the following methods:
Create a settings.yml file in a directory and then mount that directory as a Docker volume.
/usr/src/app/config