No description
Augusto Dwenger J.
d4486664e0
All checks were successful
ci/woodpecker/push/java/1 Pipeline was successful
ci/woodpecker/push/java/2 Pipeline was successful
ci/woodpecker/push/java/3 Pipeline was successful
ci/woodpecker/push/java/4 Pipeline was successful
ci/woodpecker/push/nodejs Pipeline was successful
ci/woodpecker/push/oci-image-build/1 Pipeline was successful
ci/woodpecker/push/oci-image-build/2 Pipeline was successful
ci/woodpecker/push/oci-image-build/3 Pipeline was successful
ci/woodpecker/push/oci-image-build/4 Pipeline was successful
ci/woodpecker/tag/java/1 Pipeline was successful
ci/woodpecker/tag/java/2 Pipeline was successful
ci/woodpecker/tag/java/3 Pipeline was successful
ci/woodpecker/tag/java/4 Pipeline was successful
ci/woodpecker/tag/nodejs Pipeline was successful
ci/woodpecker/tag/oci-image-build/1 Pipeline was successful
ci/woodpecker/tag/oci-image-build/2 Pipeline was successful
ci/woodpecker/tag/oci-image-build/3 Pipeline was successful
ci/woodpecker/tag/oci-image-build/4 Pipeline was successful
|
||
---|---|---|
.woodpecker | ||
bot | ||
db | ||
migration | ||
ui | ||
web | ||
.dockerignore | ||
.env.example | ||
.gitignore | ||
docker-compose.yml | ||
Dockerfile | ||
LICENSE | ||
pom.xml | ||
README.md |
dchat
A ChatGPT Bot for Discord.
Installation
Requirements:
Clone the project
git clone https://git.hhhammer.de/hamburghammer/dchat.git
cd dchat
Obtain the images
Build the images
docker compose build
Configure environment
cp .env.example .env
Fill the required variables.
Start
For the fist time we want to start the containers in the following order:
First crate the DB.
docker compose up -d db
Crate the required tables and migrate already existing data.
docker compose up -d migration
Start the final apps.
docker compose up -d
Invite
Invite the bot through the link provided in the container logs.
docker compose logs bot
Permissions
After starting the stack, navigate to localhost:8081 and feel free to configure who and how much they can use the bot :)
LICENSE
The software is licensed under the MPL-2.0 license.