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:
|
|
|
|
> image: brokenfire/discord_stroumpf_beta
|
|
|
|
> 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
|
|
|
|
> ```
|
|
|
|
> Docker hub [repo](https://hub.docker.com/r/brokenfire/discord_stroumpf_beta/)
|