Mentions légales du service

Skip to content
Snippets Groups Projects
Commit af7b7284 authored by KADDOUR Sidi Mohammed's avatar KADDOUR Sidi Mohammed
Browse files

update readme.md

parent 587dce3a
No related branches found
No related tags found
No related merge requests found
......@@ -102,7 +102,6 @@ This surveillance system is designed to process video feeds using a distributed
### Step 1: Build Docker Images for Services
1. **Clone the repository**:
First, clone the repository to your local machine:
```bash
......@@ -119,6 +118,37 @@ This surveillance system is designed to process video feeds using a distributed
```
These commands will automatically find the `Dockerfile` in each service's directory (`./services/camera`, `./services/motion_detector`, and `./services/object_recognizer`). The `latest` tag is used to mark the most recent image.
3. **(Optional) Push the images to your Docker repository**:
If you want to make the images available remotely, you can push them to your Docker Hub or GitHub Container Registry. Follow these steps:
- **Tag the images for your repository**:
Replace `<your-username>` with your Docker Hub or GitHub username, and `<repository>` with the desired image repository name.
```bash
docker tag camera:latest <your-username>/camera:latest
docker tag motion_detector:latest <your-username>/motion_detector:latest
docker tag object_recognizer:latest <your-username>/object_recognizer:latest
```
- **Log in to your Docker registry**:
```bash
docker login
```
Enter your credentials when prompted.
- **Push the images**:
```bash
docker push <your-username>/camera:latest
docker push <your-username>/motion_detector:latest
docker push <your-username>/object_recognizer:latest
```
Once pushed, these images will be available in your registry and can be pulled by others using:
```bash
docker pull <your-username>/camera:latest
docker pull <your-username>/motion_detector:latest
docker pull <your-username>/object_recognizer:latest
```
### Step 2: Create or Update `docker-compose.yml`
#### Services Envirment Variables
**Object Recognizer**:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment