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:
|
2017-12-20 18:03:16 +01:00
|
|
|
> image: brokenfire/brokendiscordbot
|
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"
|
|
|
|
> #volumes:
|
|
|
|
> # - "/var/run/docker.sock:/var/run/docker.sock"
|
|
|
|
> restart: always
|
|
|
|
>
|
|
|
|
> networks:
|
|
|
|
> proxy:
|
|
|
|
> external: true
|
|
|
|
> ```
|
2017-12-20 18:03:16 +01:00
|
|
|
> Docker hub [repo](https://hub.docker.com/r/brokenfire/brokendiscordbot/)
|