rpanic / oeuv-discord

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ÖUV Discord Bot

Build Status

Setup

Setup is described for Docker build, for standalone build see Dockerfile

  1. Create Config config.yml

First, create a bot token for your bot on the discord developers site

File layout:

channels:
  drehscheibe: <channel-id>
  oefsv-announcements: <channel-id>
  infos: <channel-id>
bot:
  playing: <playing-string>
  token: <bot-token>
  1. Build with Docker

docker build -t oeuv-bot .

  1. Run with docker-compose
version: '3.3'
services:
    oeuv-bot:
        container_name: oeuv-bot
        restart: unless-stopped
        image: rpanic.registry.jetbrains.space/p/projects/containers/oeuv-bot:latest
        volumes:
          - ./config.yml:/app/config.yml:ro
        labels:
          - "com.centurylinklabs.watchtower.scope=watchtower"

If you don't use watchtower, remove the watchtower.scope label

Other

CI Script for DroneCI under .drone.yml build the docker image and pushes it to a remote repository

About


Languages

Language:Java 63.0%Language:Kotlin 36.9%Language:Dockerfile 0.2%