+ DOcker image in registry wew lad
+ Better docs All around qol for people that don't know what this thing is
This commit is contained in:
parent
d87d689f03
commit
de51b9141d
8
Dockerfile
Normal file
8
Dockerfile
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
FROM debian:sid-slim
|
||||||
|
|
||||||
|
# Default daniel dirs
|
||||||
|
RUN mkdir -p /media/clips /media/thumbnails
|
||||||
|
COPY build/ /app
|
||||||
|
WORKDIR /app
|
||||||
|
ENTRYPOINT [ "/app/server" ]
|
||||||
|
|
@ -1,3 +0,0 @@
|
|||||||
Signature: 8a477f597d28d172789f06886806bc55
|
|
||||||
# This file is a cache directory tag created by cargo.
|
|
||||||
# For information about cache directory tags see https://bford.info/cachedir/
|
|
17
readme.md
17
readme.md
@ -2,10 +2,18 @@
|
|||||||
|
|
||||||
A small self hostable alternative to streamable. Built with Rocket.rs
|
A small self hostable alternative to streamable. Built with Rocket.rs
|
||||||
|
|
||||||
## Status
|
## Testing
|
||||||
|
|
||||||
Right now the public API is being built so that as long as there videos to serve
|
A docker container is provided:
|
||||||
the application should serve
|
|
||||||
|
* `docker pull registry.gitlab.com/shockrah/clippable:latest`
|
||||||
|
|
||||||
|
Below is the suggested way test things out
|
||||||
|
|
||||||
|
* `docker run --rm -p 8482:8482 -it -v /path/to/clips:/media/clips -v /path/to/thumbnails:/media/thumbnails`
|
||||||
|
|
||||||
|
**NOTE**: Without proper thumbnails you get the "404" gif everywhere but the
|
||||||
|
videos will still be there.
|
||||||
|
|
||||||
## Admin Setup/Configuration
|
## Admin Setup/Configuration
|
||||||
|
|
||||||
@ -28,6 +36,3 @@ must be ran in order to ensure that output directory is present and compilation
|
|||||||
succeeds. There are no dependencies and is only written in typescript to
|
succeeds. There are no dependencies and is only written in typescript to
|
||||||
enforce some level of consistency among contributor code.
|
enforce some level of consistency among contributor code.
|
||||||
|
|
||||||
## Roadmap
|
|
||||||
|
|
||||||
_Check the /roadmap.md_
|
|
@ -8,7 +8,7 @@ port = 8482
|
|||||||
keep_alive = 5
|
keep_alive = 5
|
||||||
read_timeout = 5
|
read_timeout = 5
|
||||||
write_timeout = 5
|
write_timeout = 5
|
||||||
log = "critical"
|
log_level = "critical"
|
||||||
limits = { forms = 4096 }
|
limits = { forms = 4096 }
|
||||||
|
|
||||||
# Must be type <integer> (below is not valid toml syntax)
|
# Must be type <integer> (below is not valid toml syntax)
|
||||||
|
Loading…
Reference in New Issue
Block a user