feat: initial tuya-ipc-terminal stack

This commit is contained in:
Nox
2026-03-25 11:42:55 +01:00
commit 523ba3024b
3 changed files with 55 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
FROM golang:1.22-alpine AS builder
RUN apk add --no-cache git bash
WORKDIR /app
RUN git clone https://github.com/seydx/tuya-ipc-terminal.git .
RUN go mod download && go build -o tuya-ipc-terminal .
FROM alpine:3.19
RUN apk add --no-cache ca-certificates tzdata
WORKDIR /app
COPY --from=builder /app/tuya-ipc-terminal .
VOLUME ["/app/.tuya-data"]
EXPOSE 8554
ENTRYPOINT ["./tuya-ipc-terminal"]
CMD ["rtsp", "start", "--port", "8554"]
+23
View File
@@ -0,0 +1,23 @@
# tuya-ipc — LSC Smart Connect RTSP Bridge
Bridge WebRTC → RTSP pour caméras LSC Smart Connect (Tuya) via [tuya-ipc-terminal](https://github.com/seydx/tuya-ipc-terminal).
## Auth (une seule fois)
```bash
docker exec -it tuya-ipc ./tuya-ipc-terminal auth add eu-central email@example.com --password
# Code pays France : 33
```
## Caméras
```bash
docker exec tuya-ipc ./tuya-ipc-terminal cameras refresh
docker exec tuya-ipc ./tuya-ipc-terminal cameras list
docker exec tuya-ipc ./tuya-ipc-terminal rtsp list-endpoints
```
## URLs RTSP
- HD : `rtsp://192.168.1.150:8554/NomCamera`
- SD : `rtsp://192.168.1.150:8554/NomCamera/sd`
+18
View File
@@ -0,0 +1,18 @@
services:
tuya-ipc:
build: .
image: tuya-ipc:latest
container_name: tuya-ipc
restart: always
ports:
- "8554:8554"
volumes:
- /share/ZFS24_DATA/docker/tuya-ipc/data:/app/.tuya-data
environment:
- TZ=Europe/Paris
networks:
- swag_lan
networks:
swag_lan:
external: true