Add Docker Compose for MOTK Shoot (local-subnet only, no traefik)
This commit is contained in:
@@ -1,3 +1,39 @@
|
|||||||
# stop-motion
|
# Stop-Motion Animation — MOTK Shoot Docker Compose
|
||||||
|
|
||||||
Stop-motion animation tooling: Docker Compose for MOTK Shoot browser-based capture studio.
|
Runs [MOTK Shoot](https://github.com/OliverTaki/motk-shoot) — a browser-based stop-motion capture studio — in Docker, exposed only to the local subnet.
|
||||||
|
|
||||||
|
## Quick Start
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose up -d
|
||||||
|
```
|
||||||
|
|
||||||
|
Then open on any device on the local network:
|
||||||
|
- **Linux host / Desktop**: `http://<host-ip>:8080`
|
||||||
|
- **Phone**: `http://<host-ip>:8080` (responsive touch layout)
|
||||||
|
|
||||||
|
## Requirements
|
||||||
|
|
||||||
|
- Docker & Docker Compose
|
||||||
|
- Camera accessible via USB passthrough (webcam: `/dev/video0`, DSLR: see [MOTK Tether docs](https://github.com/OliverTaki/motk-shoot/blob/main/docs/TETHER.md))
|
||||||
|
|
||||||
|
## Network
|
||||||
|
|
||||||
|
- Listens on **port 8080** on the host's local subnet (192.168.0.0/24)
|
||||||
|
- No Traefik / reverse proxy — intentionally local-only
|
||||||
|
- No authentication — trust your LAN
|
||||||
|
|
||||||
|
## Camera / DSLR
|
||||||
|
|
||||||
|
For DSLR (Nikon, Canon, Sony) tethering, see MOTK Shoot's [TETHER.md](https://github.com/OliverTaki/motk-shoot/blob/main/docs/TETHER.md) — requires the optional **Companion** agent.
|
||||||
|
|
||||||
|
## Stop / Cleanup
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker compose down
|
||||||
|
docker compose down -v # also removes any local volumes
|
||||||
|
```
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
MIT — see upstream MOTK Shoot license.
|
||||||
|
|||||||
Submodule
+1
Submodule app added at 21e9e7e20b
@@ -0,0 +1,28 @@
|
|||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
motk-shoot:
|
||||||
|
image: nginx:alpine
|
||||||
|
container_name: motk-shoot
|
||||||
|
restart: unless-stopped
|
||||||
|
# Serve MOTK Shoot statically from the repo / cloned source
|
||||||
|
volumes:
|
||||||
|
- ./app:/usr/share/nginx/html:ro
|
||||||
|
ports:
|
||||||
|
# Only expose to local subnet / dockhand; not via traefik
|
||||||
|
- "192.168.0.0/24:8080:80"
|
||||||
|
# No traefik labels — intentionally excluded
|
||||||
|
networks:
|
||||||
|
- dockhand-local
|
||||||
|
healthcheck:
|
||||||
|
test: ["CMD", "wget", "-qO-", "http://localhost/"]
|
||||||
|
interval: 30s
|
||||||
|
timeout: 5s
|
||||||
|
retries: 3
|
||||||
|
|
||||||
|
networks:
|
||||||
|
dockhand-local:
|
||||||
|
driver: bridge
|
||||||
|
ipam:
|
||||||
|
config:
|
||||||
|
- subnet: 172.30.0.0/16
|
||||||
Reference in New Issue
Block a user