Skip to content

Commit 7421d04

Browse files
authored
Merge pull request #122 from masiv1001/patch-1
Add Docker information to README
2 parents f6a3008 + 3e190d0 commit 7421d04

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,23 @@ For example:
7474
npx chat-analytics -p discord -i "exported/*.json" -o report.html
7575
```
7676

77+
## Docker Compose
78+
79+
You can self-host the app using the official docker image provided at https://hub.docker.com/r/mlomb/chat-analytics. Check out the [Dockerfile](/Dockerfile).
80+
81+
Example `docker-compose.yaml`:
82+
83+
```yaml
84+
services:
85+
chat-analytics:
86+
image: mlomb/chat-analytics:latest
87+
ports:
88+
- 1234:80
89+
restart: unless-stopped
90+
```
91+
92+
You can map the web interface port as required by changing the port mapping, internal port must be kept to 80.
93+
7794
## Docs & Development
7895
7996
You can read [docs/README.md](/docs/README.md) for technical details, and [docs/DEV.md](/docs/DEV.md) for development instructions.

0 commit comments

Comments
 (0)