Files
discordeno/docker-apps/rest-passthrough
dependabot[bot] 2d4b7a8710 build(deps-dev): bump @swc/cli from 0.3.6 to 0.3.9 in /docker-apps/rest-passthrough (#3416)
* build(deps-dev): bump @swc/cli in /docker-apps/rest-passthrough

Bumps [@swc/cli](https://github.com/swc-project/pkgs) from 0.3.6 to 0.3.9.
- [Commits](https://github.com/swc-project/pkgs/commits)

---
updated-dependencies:
- dependency-name: "@swc/cli"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add the --strip-leading-paths or else SWC will create invalid paths

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Fleny <Fleny113@outlook.com>
Co-authored-by: Matt Hatcher <3768988+MatthewSH@users.noreply.github.com>
2024-02-09 20:55:38 +00: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.