Skip to content

Commit

Permalink
Add rabbitmq for development
Browse files Browse the repository at this point in the history
WIP: admin utility

Signed-off-by: Till Wegmueller <[email protected]>
  • Loading branch information
Toasterson committed Jul 10, 2023
1 parent 73b3648 commit 3b84813
Show file tree
Hide file tree
Showing 4 changed files with 213 additions and 1 deletion.
194 changes: 193 additions & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions crates/realmadm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
clap = { workspace = true, features = ["derive"] }
lapin.workspace = true
miette = { workspace = true, features = ["fancy"] }
rand = "0.8.5"
rsa = "0.9.2"
3 changes: 3 additions & 0 deletions crates/realmadm/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ use rsa::{
use std::io::Write;
use std::{fs::File, path::Path};

//#[derive(Parser)]
struct Args {}

fn main() -> Result<()> {
let mut rng = rand::thread_rng();
let bits = 4096;
Expand Down
15 changes: 15 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: '3.9'

services:
rabbitmq:
image: rabbitmq:3.12-management
environment:
RABBITMQ_DEFAULT_VHOST: "master"
RABBITMQ_DEFAULT_USER: "dev"
RABBITMQ_DEFAULT_PASS: "dev"
volumes:
- rabbitmq:/var/lib/rabbitmq


volumes:
rabbitmq:

0 comments on commit 3b84813

Please sign in to comment.