Files
discordeno/docker-apps/rest-passthrough
Fleny 27c261fee2 formatter: Use semicolons (#4686)
I prefer semicolors, they also help avoiding certain pitfalls in JavaScript/TypeScript, such as the following code sample:
```js
const xyz = "test"
(something.else as string) = "another"
```
This results in a TypeError: "test" is not a function, this is because js thinks we are trying to call the string "test" as a function.
To fix this it requires a `;` somewhere before the `(`, such as `;(something ... ` which in my opinion is ugly and less clean overall.
2026-01-17 21:54:15 +01:00
..
2026-01-17 21:54:15 +01:00

Discordeno Rest Passthrough

Prerequisites

Before running the app, make sure you have the following prerequisites installed:

Getting Started

  1. docker pull ghcr.io/discordeno/app-rest-passthrough:latest
  2. Create an environment file (you can use -e flags instead), example: ./my-env
  3. docker run --detach --env-file ./my-env -p 8000:8000 --name dd-rest discordeno/app-rest-passthrough

Configuration

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 be 0.0.0.0. Defaults to localhost.
  • 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.

License

This project is licensed under the Apache 2.0 License.