Go to file
2019-05-02 10:33:27 +02:00
gradle/wrapper Change command loading method 2018-01-12 12:50:12 +01:00
src/main Change git username for feed 2019-05-02 10:33:27 +02:00
_config.yml Set theme jekyll-theme-slate 2018-02-16 15:51:11 +01:00
.gitattributes Edit Jenkinsfile 2018-03-01 12:55:52 +01:00
.gitignore Use API Key method for youtube 2018-03-07 15:32:36 +01:00
build.gradle test 2018-12-04 20:00:20 +02:00
Dockerfile test 2018-03-01 15:52:42 +01:00
DownloadLast.sh OK no verbose 2018-03-01 16:08:50 +01:00
gradlew it is time to welcome............... Spring!!!!! 2017-12-12 01:06:58 +01:00
gradlew.bat it is time to welcome............... Spring!!!!! 2017-12-12 01:06:58 +01:00
Jenkinsfile Typo 2018-09-10 15:55:42 +03:00
LICENSE Add license 2018-11-30 17:08:03 +02:00
README.md Change log level with env var and update readme 2018-09-16 13:19:18 +03:00

BrokenDiscordBot

Gradle:
Build Status

Docker:
Build Status

Install:

The easiest method it's to use docker-compose:

docker-compose.yml:

version: '2'

services:
  botdiscord:
    image: brokenfire/brokendiscordbot:master
    networks:
      - proxy
      - internal
    environment:
      - PORT=8080
      - TOKEN=1111111111111 #CHANGE ME!
      - DB_URL=jdbc:mysql://database/botdiscord 
      - DB_USER=root 
      - DB_PWD=ogahxu1eigohN2Eok0xoawae #CHANGE ME!
      - OAUTH_URL= #discord generated, change "response_type=code" to "response_type=token"
      - LOG_LEVEL=info
    labels:
      - "traefik.frontend.rule=Host:exemple.com" #CHANGE ME!
      - "traefik.docker.network=proxy"
      - "traefik.port=8080"
      - "traefik.backend=botdiscord"
      - "traefik.frontend.entryPoints=http,https"
    volumes:
      - "./logs:/bot_src/logs"
    depends_on:
      - "database"
    restart: always

  phpmyadmin:
    image: phpmyadmin/phpmyadmin:latest
    labels:
      - "traefik.frontend.rule=Host:phpmyadmin.exemple.com" #CHANGE ME!
      - "traefik.port=80"
      - "traefik.docker.network=proxy"
      - "traefik.backend=phpmyadmin"
      - "traefik.frontend.entryPoints=http,https"
    environment:
      - PMA_HOST=database
    depends_on:
      - "database"

  database:
    image: mariadb:latest
    volumes:
      - ./db:/var/lib/mysql
    labels:
      - "traefik.enable=false"
    environment:
      - MYSQL_ROOT_PASSWORD= #CHANGE ME!
      - MYSQL_DATABASE=botdiscord
      - MYSQL_USER=bot
      - MYSQL_PASSWORD=Ho0duiWo3noo3Ahrahx0rohz #CHANGE ME!
    networks:
      - internal

networks:
    proxy:
      external: true
    internal:
      external: false

Docker hub repo

Javadoc & Jenkins