mirror of
https://github.com/Dokploy/templates.git
synced 2026-07-08 23:45:24 +02:00
* Add go2rtc * Update blueprints/go2rtc/docker-compose.yml Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * Update blueprints/go2rtc/template.toml Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * Apply suggestion from @greptile-apps[bot] Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> * Update docker-compose.yml * Update template.toml * Update docker-compose.yml * Update docker-compose.yml --------- Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
25 lines
468 B
YAML
25 lines
468 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
go2rtc:
|
|
image: alexxit/go2rtc:1.9.14
|
|
restart: unless-stopped
|
|
|
|
# To use a local webcam, add the device to the service:
|
|
# devices:
|
|
# - /dev/video0:/dev/video0 # Adjust path if your device is at /dev/video1, etc.
|
|
|
|
expose:
|
|
- 1984 # Web UI
|
|
- 8554 # RTSP
|
|
- 8555 # WebRTC
|
|
|
|
environment:
|
|
- TZ=${TZ}
|
|
|
|
volumes:
|
|
- go2rtc-config:/config
|
|
|
|
volumes:
|
|
go2rtc-config: {}
|