Archived
1.8 KiB
1.8 KiB
Installation
On first start you have to enable one of the authentication plugins in configs/sentryshot.toml
[[plugin]]
name = "auth_none"
-enable = false
+enable = true
Docker Install
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.x.x
App will be served on http://ip:2020/live
Compose
services:
sentryshot:
shm_size: 500m
image: codeberg.org/sentryshot/sentryshot:v0.x.x
ports:
- 2020:2020
environment:
- TZ=America/New_York # Timezone.
volumes:
- /docker/sentryshot/configs:/app/configs
- /docker/sentryshot/storage:/app/storage
Tarball Install
The only requirement is a system with glibc 2.34+ Check with ld -v
Download a tarball from the releases page.
mkdir sentryshot
tar -xzvf sentryshot-* -C ./sentryshot/
cd sentryshot
./sentryshot --help
Help wanted for proper install instructions.
Build From Source
Dependencies
# 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" .