2017-12-20 17:58:08 +01:00
|
|
|
# BrokenDiscordBot
|
2017-12-20 17:54:44 +01:00
|
|
|
|
|
|
|
## Install:
|
|
|
|
|
|
|
|
> The easiest method it's to use docker-compose:
|
|
|
|
>
|
|
|
|
> docker-compose.yml:
|
|
|
|
> ```YAML
|
|
|
|
> version: '2'
|
|
|
|
>
|
|
|
|
> services:
|
2018-02-15 02:02:35 +01:00
|
|
|
> botdiscord:
|
|
|
|
> image: brokenfire/brokendiscordbot:latest
|
2017-12-20 17:54:44 +01:00
|
|
|
> networks:
|
|
|
|
> - proxy
|
|
|
|
> environment:
|
2018-02-15 02:02:35 +01:00
|
|
|
> - PORT=8081
|
2017-12-20 17:54:44 +01:00
|
|
|
> - TOKEN=1111111111111 #CHANGE ME!
|
|
|
|
> labels:
|
|
|
|
> - "traefik.frontend.rule=Host:exemple.com" #CHANGE ME!
|
|
|
|
> - "traefik.port=8080"
|
|
|
|
> - "traefik.backend=botdiscord"
|
|
|
|
> - "traefik.frontend.entryPoints=http,https"
|
2018-02-15 02:02:35 +01:00
|
|
|
> volumes:
|
|
|
|
> - "./logs:/bot_src/logs"
|
2017-12-20 17:54:44 +01:00
|
|
|
> restart: always
|
|
|
|
>
|
|
|
|
> networks:
|
|
|
|
> proxy:
|
2018-02-15 02:02:35 +01:00
|
|
|
> external: true
|
2017-12-20 17:54:44 +01:00
|
|
|
> ```
|
2017-12-20 18:03:16 +01:00
|
|
|
> Docker hub [repo](https://hub.docker.com/r/brokenfire/brokendiscordbot/)
|
2018-01-12 23:59:12 +01:00
|
|
|
|