Sign inSign up

jakefrosty/korotagger

By jakefrosty

Updated about 2 years ago

a tagger bot made by Yarn, Dockerized by JakeFrosty

Image
1

1.1K

jakefrosty/korotagger repository overview

Korotagger

Quick reference

What is Korotagger?

Korotagger is a tagger bot by Yarn, If you need help regarding bot usage please consult the docs page first

This image conveniently allows you to spin up a korotagger instance in docker and it initializes the database for you!

Environment variables:

Example compose setup:

services:
  kt-app:
     image: jakefrosty/korotagger:latest
     cpus: 0.5
     mem_limit: 100m
     container_name: korotagger-app
     environment:
       yt_api_key: your-yt-api-key
       holodex_api_key: your-holodex-api-key
       POSTGRES_HOST: kt-db
       POSTGRES_PORT: 5432
       POSTGRES_USER: username
       POSTGRES_PASSWORD: averysecurepassword
       POSTGRES_DB: your-database-name
       discord_auth: your-bot-token-here
     depends_on:
       - kt-db
     volumes:
       - app:/app
  kt-db:
     image: postgres:16.3-alpine3.20
     cpus: 0.5
     mem_limit: 100M
     restart: unless-stopped
     container_name: korotagger-db
     environment:
      - POSTGRES_USER=username
      - POSTGRES_PASSWORD=averysecurepassword
      - POSTGRES_DATABASE=your-database-name
     volumes:
      - kt-db:/var/lib/postgresql/data
     healthcheck:
      test: ['CMD-SHELL', 'pg_isready -U postgres']
      interval: 10s
      timeout: 5s
      retries: 5
volumes:
  kt-db:
  app:

Tag summary

Content type

Image

Digest

sha256:f8edafa17

Size

9.3 MB

Last updated

about 2 years ago

docker pull jakefrosty/korotagger