Stream URL changes with every restart of shinobi container
Not sure if I am doing something wrong but here is the URL I am talking about:
Here is my docker-compose.yaml
version: '3'
# https://gitlab.com/MiGoller/ShinobiDocker
services:
shinobi-db:
image: mariadb:10.5
container_name: shinobi-db
hostname: shinobi-db
restart: "no"
env_file:
- MySQL.env
volumes:
- ./data:/var/lib/mysql
networks:
- shinobi
shinobi:
image: migoller/shinobidocker:microservice-ffmpeg
container_name: shinobi
hostname: shinobi
restart: "no"
env_file:
- MySQL.env
- Shinobi.env
environment:
- "TZ=Europe/Berlin"
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./config:/config
- ./videos:/opt/shinobi/videos
- /dev/shm/shinobiDockerTemp:/dev/shm/streams
# devices:
# - /dev/dri:/dev/dri
ports:
- "8088:8080"
networks:
- traefik
- shinobi
networks:
traefik:
external:
name: traefik
shinobi:
external:
name: shinobi
Shinobi.env contains:
MOTION_HOST=localhost MOTION_PORT=8080
Edited by Ovidiu