Skip to content

Commit 34ff596

Browse files
authored
Update README.md
1 parent cb0431a commit 34ff596

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,19 +34,21 @@ In this example, the Printer is using device ``/dev/ttymxc3``.
3434
- /dev/ttymxc3:/dev/ttymxc3
3535
```
3636
37-
Locate the ``ustreamer`` Service within ``docker-compose.override.yaml`` and update the ``device`` Section with the Device Name of your Webcam.
37+
Locate the ``webcam`` Service within ``docker-compose.override.yaml`` and update the ``device`` Section with the Device Name of your Webcam.
3838
In this example, the Webcam is using device ``/dev/video0``. Do not edit any other lines.
3939
```yaml
40-
ustreamer:
40+
webcam:
4141
<<: *ustreamer-svc
42-
container_name: ustreamer
42+
container_name: webcam
4343
devices:
4444
- /dev/video0:/dev/webcam
4545
labels:
4646
- "traefik.enable=true"
47-
- "traefik.http.services.ustreamer.loadbalancer.server.port=8080"
48-
- "traefik.http.routers.ustreamer.rule=PathPrefix(`/stream`)"
49-
- "traefik.http.routers.ustreamer.entrypoints=web"
47+
- "traefik.http.services.webcam.loadbalancer.server.port=8080"
48+
- "traefik.http.routers.webcam.rule=PathPrefix(`/webcam`)"
49+
- "traefik.http.routers.webcam.entrypoints=web"
50+
- "traefik.http.middlewares.webcam.stripprefix.prefixes=/webcam"
51+
- "traefik.http.routers.webcam.middlewares=webcam"
5052
```
5153
5254
@@ -227,4 +229,4 @@ docker compose \
227229
-f docker-compose.yaml \
228230
-f docker-compose.simulavr.yaml \
229231
up -d
230-
```
232+
```

0 commit comments

Comments
 (0)