Public | Automated Build

Last pushed: 5 months ago
Short Description
Self-hosted chat app for small teams.
Full Description

What is Let's Chat?

A self-hosted chat app for small teams.

How to use this image

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.

... via docker-compose

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.

Configuration

You can config your Let's Chat Docker instance using one of the following methods:

Config file

Create a settings.yml file in a directory and then mount that directory as a Docker volume.

/usr/src/app/config

Environment variables

See the Let's Chat wiki for a list of envirnoment variables

Docker Pull Command
Owner
sdelements
Source Repository

Comments (6)
raesene
2 years ago

@syrenity one thing to check, did you start the mongo container first? It's not super clear from the readme but you need to start an instance of mongo with a name of "some-mongo" for that docker run command to work .

something like docker run -d --name some-mongo mongo:latest should work

syrenity
2 years ago

Getting on CoreOS:
FATA[0046] Error response from daemon: Could not get container for some-mongo

Ideas?

sibartlett
2 years ago

The app is configurable using environment variables (documented in the GitHub wiki).

I will also look into creating a config volume. Ideally you don't want to be making changes to your container, it'll make updates trickier.

hcocoa
2 years ago

@gopalfreak you're correct.

can anybody provide the password of root?

gopalfreak
2 years ago

maybe due to the std user node... you'r not root by default in this image.

hcocoa
2 years ago

when i get into the container

docker exec -it some-letschat bash 

i got the error message:

cp settings.yml.sample settings.yml 
cp: cannot create regular file 'settings.yml': Permission denied

how can i chagne settings? thanks.