You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-12Lines changed: 4 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,18 +24,10 @@ There are basically two ways to run and configure this discord bot:
24
24
The easiest method to install and use this bot is by running it in a docker container. I suggest to use docker-compose
25
25
for that, however, starting the container with `docker run` should be fine as well.
26
26
27
-
```yaml
28
-
version: "3"
29
-
30
-
services:
31
-
serviceName:
32
-
image: droidwiki/discord-player-count
33
-
restart: unless-stopped
34
-
volumes:
35
-
- ./config:/app/config
36
-
environment:
37
-
DISCORD_TOKEN: YOUR_DISCORD_BOT_TOKEN
38
-
# You need more configuration here, look at the Configuration section
27
+
There is a ready-to-use `docker-compose-yml` file available in this repository.
28
+
Simply create a `.env` file next to it (copying the contents of the `example.env file), set the necessary configuration values as described further in this README and run this command to start the bot:
29
+
```shell
30
+
docker-compose up -d
39
31
```
40
32
41
33
You can run as many containers as you want, one container per game server you want to track.
0 commit comments