Skip to content

simple web app that use icmp protocol to check some devices if there are up or not

License

Notifications You must be signed in to change notification settings

miladbonakdar/ICMP-server

Repository files navigation

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 build

Run:

docker-compose -f .\docker-compose.debug.yml up

you can attach the debugger after running the entire app with the command above

Stop:

docker-compose -f .\docker-compose.debug.yml down

2. Run services separately

Run the database services:

docker-compose -f .\docker-compose.dev.yml up

Then you have to run API and the ui as well:

cd ./server
yarn run dev

cd ./www
yarn run serve

Production

Build:

docker-compose build

Run:

docker-compose up

Stop:

docker-compose down

A better solution may be Docker Swarm. Make sure you built the images first.

docker swarm init

docker stack deploy -c docker-compose.yml icmp

Author

Milad bonakdar
miladbonak@gmail.com

License

MIT

About

simple web app that use icmp protocol to check some devices if there are up or not

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages