On first start you have to enable one of the authentication plugins in configs/sentryshot.toml
[[plugin]]
name = "auth_none"
-enable = false
+enable = true
Note: Docker will bypass the firewall and expose ports by default.
docker run -it \
--env TZ=America/New_York \
--shm-size=500m \
-v /docker/sentryshot/configs:/app/configs \
-v /docker/sentryshot/storage:/app/storage \
-p 2020:2020 \
codeberg.org/sentryshot/sentryshot:v0.2.22
App will be served on http://ip:2020/live
services:
sentryshot:
shm_size: 500m
image: codeberg.org/sentryshot/sentryshot:v0.2.22
ports:
- 2020:2020
environment:
- TZ=America/New_York # Timezone.
volumes:
- /docker/sentryshot/configs:/app/configs
- /docker/sentryshot/storage:/app/storage
#devices:
# - "/sys/bus/usb/devices/x"
Requires a system with glibc 2.34+
Check with ld -v
. libusb-1.0
is not included.
Download a tarball from the releases page.
mkdir sentryshot
tar -xzvf sentryshot-* -C ./sentryshot/
cd sentryshot
./sentryshot --help
Help wanted for proper install instructions.
- rust 1.65+
- libedgetpu
libavutil-dev
libavcodec-dev
libusb-1.0-0-dev
git
pkg-config
# Clone the repository.
git clone --branch master https://codeberg.org/SentryShot/sentryshot.git
cd sentryshot
# Build
./misc/utils build-target x86_64
# Make a tarball.
tar -czvf "./build/sentryshot-x86_64.tar.gz" -C "./build/x86_64"