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:
|
|
|
|
> botdiscord:
|
2018-01-12 23:59:12 +01:00
|
|
|
> image: brokenfire/brokendiscordbot:latest
|
2017-12-20 17:54:44 +01:00
|
|
|
> networks:
|
|
|
|
> - proxy
|
|
|
|
> environment:
|
|
|
|
> - PORT=8081
|
|
|
|
> - 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-01-12 23:59:12 +01:00
|
|
|
> volumes:
|
|
|
|
> - "./logs:/bot_src/logs"
|
2017-12-20 17:54:44 +01:00
|
|
|
> restart: always
|
|
|
|
>
|
|
|
|
> networks:
|
|
|
|
> proxy:
|
|
|
|
> external: true
|
|
|
|
> ```
|
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
|
|
|
|