https://github.com/jameshiew/hello-http
🖥️ Simple HTTP server written in Rust and packaged inside a Docker image
https://github.com/jameshiew/hello-http
axum http-server rust tower-http
Last synced: 6 months ago
JSON representation
🖥️ Simple HTTP server written in Rust and packaged inside a Docker image
- Host: GitHub
- URL: https://github.com/jameshiew/hello-http
- Owner: jameshiew
- License: mit
- Created: 2023-02-24T14:12:03.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-01-14T15:51:37.000Z (over 1 year ago)
- Last Synced: 2025-02-15T06:05:43.994Z (about 1 year ago)
- Topics: axum, http-server, rust, tower-http
- Language: Rust
- Homepage: https://hub.docker.com/r/jameshiew/hello-http
- Size: 124 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# hello-http [](https://hub.docker.com/r/jameshiew/hello-http/tags)
This is a simple HTTP server packaged inside a Docker image, for testing/demonstration purposes. See [the OpenAPI spec](openapi.yml) for details of endpoints.
## Configuration
| Environment variable | Description | Default Value |
| -------------------- | -------------------------------------------------------- | ------------- |
| `HTTP_HOST` | The IP address to which the server should bind. | `127.0.0.1` |
| `HTTP_PORT` | The port number to listen on. | `3000` |
| `HTTP_LOG_ANSI` | Whether ANSI colors should be enabled for the log output | `1` |
| `RUST_LOG` | The level at which to emit logs | `info` |