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:
- Create an
ayb.toml
configuration file (see Running a server) - Create a data directory for the databases
- 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
- Bump tokio from 1.38.1 to 1.41.1 by @dependabot in #488
- Bump clap from 4.5.21 to 4.5.26 by @dependabot in #500
- Bump tokio from 1.41.1 to 1.43.0 by @dependabot in #499
- Bump lettre from 0.11.10 to 0.11.11 by @dependabot in #495
- Bump time from 0.3.36 to 0.3.37 by @dependabot in #494
- Bump chrono from 0.4.38 to 0.4.39 by @dependabot in #497
- Bump directories from 5.0.1 to 6.0.0 by @dependabot in #505
- Bump predicates from 3.1.2 to 3.1.3 by @dependabot in #503
- Bump scraper from 0.21.0 to 0.22.0 by @dependabot in #504
- Bump serde_json from 1.0.133 to 1.0.135 by @dependabot in #501
- Bump serde from 1.0.215 to 1.0.217 by @dependabot in #502
- Bump serde_json from 1.0.135 to 1.0.137 by @dependabot in #512
- Bump uuid from 1.12.0 to 1.12.1 by @dependabot in #515
- Bump env_logger from 0.10.2 to 0.11.6 by @dependabot in #514
- Bump clap from 4.5.26 to 4.5.27 by @dependabot in #513
- Bump serde_json from 1.0.137 to 1.0.138 by @dependabot in #518
- Bump derive_more from 1.0.0 to 2.0.1 by @dependabot in #524
- Bump dyn-clone from 1.0.17 to 1.0.18 by @dependabot in #521
- Bump openssl from 0.10.68 to 0.10.70 by @dependabot in #522
- Bump async-trait from 0.1.85 to 0.1.86 by @dependabot in #519
- Bump lettre from 0.11.11 to 0.11.12 by @dependabot in #520
- Bump lettre from 0.11.12 to 0.11.13 by @dependabot in #535
- Bump clap from 4.5.27 to 4.5.30 by @dependabot in #534
- Bump blake3 from 1.5.5 to 1.6.0 by @dependabot in #533
- Bump uuid from 1.12.1 to 1.13.2 by @dependabot in #532
- Bump toml from 0.8.19 to 0.8.20 by @dependabot in #528
Full Changelog: v0.1.9...v0.1.10