diff --git a/README.md b/README.md index 3c70b4c..4a67902 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +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://:8080` +- **Phone**: `http://: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. diff --git a/app b/app new file mode 160000 index 0000000..21e9e7e --- /dev/null +++ b/app @@ -0,0 +1 @@ +Subproject commit 21e9e7e20b8ca29d6bf335a682f18420c9900563 diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..f6e099d --- /dev/null +++ b/docker-compose.yml @@ -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