Skip to content

v0.1.10

Latest
Compare
Choose a tag to compare
@marcua marcua released this 23 Feb 16:41
· 2 commits to main since this release

Docker images!

ayb v0.1.10 has a few quality-of-life improvements (replacing a dependency on aws-sdk-s3 with rust-s3 to speed up and stabilize builds, skipping isolation on non-Linux systems), but the major feature of this release is Docker images!

While the full details are in the documentation, here's a high-level introduction. To pull the latest version of the image:

docker pull ghcr.io/marcua/ayb

To run the server, you'll need to:

  1. Create an ayb.toml configuration file (see Running a server)
  2. Create a data directory for the databases
  3. Map these as volumes when running the container

For example:

docker run -v $(pwd)/ayb.toml:/ayb.toml \
          -v $(pwd)/ayb_data:/ayb_data \
          -p 5433:5433 \
          ghcr.io/marcua/ayb \
          ayb server --config /ayb.toml

To run client commands, you can create an alias for convenience:

alias ayb="docker run --network host ghcr.io/marcua/ayb ayb"

Then use the client as normal:

ayb client --url http://127.0.0.1:5433 register marcua [email protected]

Other improvements

  • Investigate and fix CI create DB error by @marcua in #511
  • Replace aws-sdk-s3 with rust-s3 by @marcua in #510
  • Skip isolation with a warning when not on Linux by @marcua in #525
  • Dockerfile with image publishing on new tag by @marcua in #517

Dependency bumps

Full Changelog: v0.1.9...v0.1.10