chat is an extremely minimalistic chat server with a web interface.
To run this chat server you need
- Docker
- Optionally: A reverse proxy (recommended: Traefik)
The providedcompose.ymlis preconfigured for Traefik and works out of the box.
You may use any other reverse proxy or none at all, but in that case you’ll need to adjust the configuration yourself. - An unused domain or subdomain
-
Create a file with the name
.envinside the project root (the directory which containscompose.yamlandDockerfile). -
Paste the following template into it and replace the values with your own:
CHAT_DOMAIN=chat.example.com
CHAT_PORT=3000
CHAT_SESSION_SECRET=my-super-secret-string
CHAT_AUTH_PW=my-super-secret-login-password-
In
compose.yamlmake sure to use the correct architecture (eitherchat:latest-amd64orchat:latest-arm64). -
(Optional): Exchange the
favicon.ico(inside thepublic/directory). -
Run
docker compose up -d.
To build from source use the command docker compose -f compose.dev.yaml up --build.