2. Prepare docker-compose.yml file
sudo apt-get update && sudo apt-get upgrade
curl -fsSL https://get.docker.com | sh
sudo usermod -aG docker $USER
newgrp docker
sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2\
/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose
sudo service docker restart
1. Docker-compose installation. Execute it line by line (not everything at once)
version: "3.9"
services:
ev_sensor:
image: ghcr.io/edge-vision/traffic:2023.1.1
container_name: ev_sensor
restart: unless-stopped
privileged: true
volumes:
- ./volumes1:/app/volumes
- /var/run/docker.sock:/var/run/docker.sock
- /dev/mem:/dev/mem
- /sys/devices/virtual/dmi/id:/sys/devices/virtual/dmi/id
ports:
- "5000:5000"
- "5050:5050" # Numbers must be the same as STREAMING_PORT
cap_add:
- SYS_TIME
environment:
CURR_ENV: production
STREAMING_PORT: "5050"
logging:
driver: "json-file"
options:
max-size: "100m"
max-file: "1"
All steps are performed on the target machine where system should be installed if not stated otherwise
3. Pull docker image from the Edge Vision Github repository
docker pull ghcr.io/edge-vision/traffic:2023.1.1
4. Make the first launch of the system to receive Initial token and Device Key
Initial token will be shown only once at the first system launch. Be careful to not miss it
5. Extract and save Initial token and device key
docker-compose logs | grep '@@@'
6. Send DEVICE KEY to us and we will come back with the license key