Update noc-docker/README.md
This commit is contained in:
parent
2c88f92e1b
commit
d520aa63f9
@ -137,7 +137,7 @@ The Network Monitoring System is a simplified Network Operations Center (NOC) th
|
||||
- **Restart Policy:** `unless-stopped`
|
||||
- **Environment Variables:**
|
||||
- `BACKEND_URL`: Set to `http://backend:5001` for internal communication
|
||||
- `PROBE_INTERVAL`: Interval between probes (10 seconds)
|
||||
- `PROBE_INTERVAL`: Interval between probes (5 seconds)
|
||||
- **Volumes:** None
|
||||
- **Resources:** No specific limits defined (uses host defaults)
|
||||
- **Dependencies:** Requires `backend` service to be running
|
||||
@ -170,28 +170,6 @@ The Network Monitoring System is a simplified Network Operations Center (NOC) th
|
||||
- **Startup:** Static file server on port 5000
|
||||
- **Dependencies:** Requires `backend` service for API calls
|
||||
|
||||
### Dockerfile Details
|
||||
|
||||
**Probe Dockerfile** (`Dockerfile.probe`):
|
||||
- Base Image: `python:3.9-slim`
|
||||
- Python application using `requests` library
|
||||
- Sends ICMP ping requests via network calls
|
||||
- Periodically posts monitoring data to backend API
|
||||
- Lightweight image (~500 MB)
|
||||
|
||||
**Backend Dockerfile** (`Dockerfile.backend`):
|
||||
- Base Image: `python:3.9-slim`
|
||||
- Flask web framework for API endpoints
|
||||
- SQLite database integration
|
||||
- RESTful API for receiving probe data and serving historical data
|
||||
- Lightweight image (~500 MB)
|
||||
|
||||
**Frontend Dockerfile** (`Dockerfile.frontend`):
|
||||
- Base Image: `nginx:alpine`
|
||||
- Nginx web server for static file serving
|
||||
- HTML/CSS/JavaScript dashboard interface
|
||||
- Communicates with backend via JavaScript fetch API
|
||||
- Minimal image size (~40 MB)
|
||||
|
||||
### Configuration Methods
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user