GitXplorerGitXplorer
h

hello-rs

public
14 stars
3 forks
0 issues

Commits

List of commits on branch main.
Verified
4b7eddafd254f4f58d9dc2b4812ffe58116b6194

build: update deps, Dockerfile

hhseeberger committed 8 months ago
Verified
cbfdb08c3e42cf876a8695d9c1980fdc7693141e

build(hello-rs): release version 0.6.1

hhseeberger committed 10 months ago
Verified
21e1ca16fe3c30cc2c44ab2c7c79458237ed41c1

fix: use hseeberger/hello-rs for release workflow

hhseeberger committed 10 months ago
Verified
e8cddf8af7430774bd4351a0b93f7323e0d5f1a7

build(hello-rs): release version 0.6.0

hhseeberger committed 10 months ago
Verified
5f96d0594a9d0494688dfa8f450bf4d39e664b17

chore: cleanup (#41)

hhseeberger committed 10 months ago
Verified
c4742dc98e7d62f6920f7c85d1936de005625a38

build(hello-rs): release version 0.5.1

hhseeberger committed a year ago

README

The README file for this repository.

hello-rs

Simple dockerized Rust/Axum based HTTP server for demo purposes.

Run locally

From the workspace root directory:

RUST_LOG=hello_rs=debug,info \
  cargo run -p hello-rs \
  | jq

Configuration

See config/default.yaml or override settings via env vars. See configured for details.

Example:

RUST_LOG=hello_rs=debug,info \
  APP__API__PORT=8080 \
  cargo run -p hello-rs \
  | jq

Docker

To build the Docker image, from the workspace root directory:

docker build \
  -t hseeberger/hello-rs \
  --build-arg RUST_VERSION=1.70.0 \
  .

To run the Docker image:

docker run \
  -p 8080:80 \
  -e RUST_LOG=info,hello_rs=debug \
  hseeberger/hello-rs:latest

License

This code is open source software licensed under the Apache 2.0 License.