Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
rowdy
Documentation: Stable | Master
rowdy
is a Rocket based JSON Web token based authentication server
based off Docker Registry's authentication protocol.
Requirements
Rocket requires nightly Rust. You should probably install Rust with rustup, then override the code directory to use nightly instead of stable. See installation instructions.
In particular, rowdy
is currently targetted for nightly-2017-07-21
.
Testing
To separate the dependencies of the library
part of the crate from the binary
part, the crate is set up
to make use of workspaces.
To run tests on both the libary
and binary
, do cargo test --all
.
Docker Image
An musl-linked image can be built from the Dockerfile
in the repository root. You will need at least Docker 17.05
(API version 1.29) to build.
By default, the Docker image will not start Rowdy for you. You will need to provide your own configuration file
and command line arguments. The provided docker-compose.yml
should get you started.
You can simply define your own docker-compose.override.yml
file. For example:
version: "2.1"
services:
rowdy:
environment:
ROCKET_ENV: production
expose:
- "80"
volumes:
- ./config:/app/config
command:
networks:
nginx:
external: true
Then, you can simply start the containers with docker-compose up --build -d
.