tbmreza / aegis-manager

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

💼 aegis manager

Convenient DMP aegis development.

Features

Troubleshoot developer's local environment

aegis checkhealth [-y]

Common troubles are grouped based on whether or not it makes sense to automate the fix. The autofixes must be safe to perform even if status quo is already correct.

1. Troubles reported, fixes suggested.

Trouble Fix
aegis-nginx container hasn't been restarted since it was first started. docker restart aegis-nginx
vladmir and voodoo are not running on port xx and yy. npm run dev

2. Troubles reported, fixes suggested, suggestions performed (on user confirmation).

Trouble Fix
VPN state is disconnected. /opt/cisco/anyconnect/bin/vpn -s connect vpn-inter.mbizmarket.my.id
No aegis containers are running. aegis start

Manage docker apps

  • Start aegis containers.
aegis start [PROFILE]
Profile name Applications PROFILE
Frontend redis nginx cuirass bloodthorn tarrasque 1
Alunalun redis nginx tarrasque 11
  • Stop all aegis containers. Wrapper for docker stop $(docker ps --filter "name=aegis" -q).
aegis stop
  • Manage (start, stop) individual aegis container via interactive list.
aegis list

Install

brew tap tbmreza/tools
brew install aegis-manager

Testing

cargo test

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this crate by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

About


Languages

Language:Rust 100.0%