From 34ff59612926e7026c72a94fe217d02ae7c21ccf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20K=C3=BCffner?= <11882946+mkuf@users.noreply.github.com> Date: Mon, 18 Apr 2022 22:12:59 +0200 Subject: [PATCH] Update README.md --- README.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 76255e8..28e6946 100644 --- a/README.md +++ b/README.md @@ -34,19 +34,21 @@ In this example, the Printer is using device ``/dev/ttymxc3``. - /dev/ttymxc3:/dev/ttymxc3 ``` -Locate the ``ustreamer`` Service within ``docker-compose.override.yaml`` and update the ``device`` Section with the Device Name of your Webcam. +Locate the ``webcam`` Service within ``docker-compose.override.yaml`` and update the ``device`` Section with the Device Name of your Webcam. In this example, the Webcam is using device ``/dev/video0``. Do not edit any other lines. ```yaml - ustreamer: + webcam: <<: *ustreamer-svc - container_name: ustreamer + container_name: webcam devices: - /dev/video0:/dev/webcam labels: - "traefik.enable=true" - - "traefik.http.services.ustreamer.loadbalancer.server.port=8080" - - "traefik.http.routers.ustreamer.rule=PathPrefix(`/stream`)" - - "traefik.http.routers.ustreamer.entrypoints=web" + - "traefik.http.services.webcam.loadbalancer.server.port=8080" + - "traefik.http.routers.webcam.rule=PathPrefix(`/webcam`)" + - "traefik.http.routers.webcam.entrypoints=web" + - "traefik.http.middlewares.webcam.stripprefix.prefixes=/webcam" + - "traefik.http.routers.webcam.middlewares=webcam" ``` @@ -227,4 +229,4 @@ docker compose \ -f docker-compose.yaml \ -f docker-compose.simulavr.yaml \ up -d -``` \ No newline at end of file +```