Hopefully v5 will be stateless...
- Docker
- Docker compose
- Existing Docker network
infraon the VPS with:- Postgres available as
postgres:5432 - Redis available as
redis:6379
- Postgres available as
- Copy
.env.exampleto.envand fill all required values.
BOT_TOKEN=*****
DATABASE_URL=postgresql://appbot:*****@postgres:5432/appbot
POSTGRES_USER=appbot
POSTGRES_PASSWORD=*****
POSTGRES_DB=appbot
PGDATA=/var/lib/postgresql/data/pgdata
OWNER=YOUR_DISCORD_ID
REDIS_HOST=redis
OPENAI_API_KEY=*****
CHROMA_URL=http://chroma:8000- Create a config file named
config.jsonin the main directory, all values are required.
{
"channels": {
"pending": "",
"denied": "",
"accepted": "",
"report": "",
"staff": "",
"support": "",
"international_support": "",
"tips": "",
"variable_guides": "",
"limiter_guides": "",
"faq": "",
"bot_commands_1": "",
"bot_commands_2": "",
"wiki": "",
"share_your_bot": ""
},
"roles": {
"mod": "",
"trial_support": "",
"required_role": "",
"staff": ""
},
"support_tags": {
"resolved": "",
"complex": "",
"question": "",
"code_error": "",
"wiki_error": ""
},
"international_support_tags": {
"resolved": "",
"turkish": "",
"russian": "",
"french": "",
"spanish": "",
"portuguese": "",
"arabic": "",
"german": "",
"dutch": "",
"hindi": "",
"polish": "",
"italian": "",
"czech": "",
"greek": "",
"hungarian": "",
"other": ""
},
"categories": {
"tickets": ""
},
"guild": "THE_INITIAL_GUILD"
}docker compose -f docker-compose.yml up --build
- Ensure the shared infra stack is running on the VPS (
postgresandredisreachable on networkinfra). - Start with:
docker compose -f docker-compose.infra.yml up --build
Discord rejects github.com/.../blob/... links (“URL is not allowed”). Host the HTML pages with GitHub Pages:
- Push these files to the default branch.
- Repo Settings → Pages → Build and deployment: Source Deploy from a branch, Branch
main(or your default), Folder/docs. - Wait a minute, then use:
- Home:
https://oriel-beck.github.io/application-bot/ - Privacy:
https://oriel-beck.github.io/application-bot/legal/privacy-policy.html - Terms:
https://oriel-beck.github.io/application-bot/legal/terms-of-service.html - Legal index:
https://oriel-beck.github.io/application-bot/legal/
- Home:
Also paste those same URLs into the app’s General Information Privacy Policy / Terms of Service fields if present.