Before running the app, make sure you have the following prerequisites installed:
- Docker: Installation Guide
- Discordeno: GitHub Repository
- Build the image from the dockerfile in the repo
- Create an environment file (you can use
-eflags instead), example:./my-env docker run --detach --env-file ./my-env -p 8000:8000 --name dd-rest discordeno/app-rest-passthrough
The app can be configured using environment variables. The following variables are available:
DISCORD_TOKEN: The Discord bot token used for authentication.HOST: The host to bind the application to, for Docker it should be0.0.0.0. Defaults tolocalhost.AUTHORIZATION_TOKEN: The token that will be used to authorize the requests made. This can be anything generated by you.
You can set these variables either in a .env file or directly in your Docker command.
This project is licensed under the Apache 2.0 License.