ICMP-rai
Simple web app that use icmp protocol to check some devices if there are up or not. In the app, you have 'Node' which is a single device or server that you want to capture status and the 'Area' which is a group of nodes for better separation
Development
1. Run all services in the containers
Build:
docker-compose -f .\docker-compose.debug.yml buildRun:
docker-compose -f .\docker-compose.debug.yml upyou can attach the debugger after running the entire app with the command above
Stop:
docker-compose -f .\docker-compose.debug.yml down2. Run services separately
Run the database services:
docker-compose -f .\docker-compose.dev.yml upThen you have to run API and the ui as well:
cd ./server
yarn run dev
cd ./www
yarn run serveProduction
Build:
docker-compose buildRun:
docker-compose upStop:
docker-compose downA better solution may be Docker Swarm. Make sure you built the images first.
docker swarm init
docker stack deploy -c docker-compose.yml icmpAuthor
Milad bonakdar
[email protected]
License
MIT
