mirror of
https://github.com/Dokploy/templates.git
synced 2026-06-15 20:25:24 +02:00
Added Scrypted (#257)
This commit is contained in:
committed by
GitHub
parent
2ab8b2ee27
commit
c634c2cb31
14
blueprints/scrypted/docker-compose.yml
Normal file
14
blueprints/scrypted/docker-compose.yml
Normal file
@@ -0,0 +1,14 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
scrypted:
|
||||
image: ghcr.io/koush/scrypted:latest
|
||||
environment:
|
||||
- SCRYPTED_WEBHOOK_UPDATE_AUTHORIZATION=${SCRYPTED_WEBHOOK_UPDATE_AUTHORIZATION}
|
||||
- SCRYPTED_WEBHOOK_UPDATE=http://${main_domain}:10444/v1/update
|
||||
volumes:
|
||||
- ../files/scrypted-volume:/server/volume
|
||||
# Optional NVR volume, uncomment if needed
|
||||
# - ../files/nvr:/nvr
|
||||
restart: unless-stopped
|
||||
logging:
|
||||
driver: "none"
|
||||
BIN
blueprints/scrypted/image.png
Normal file
BIN
blueprints/scrypted/image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
24
blueprints/scrypted/template.toml
Normal file
24
blueprints/scrypted/template.toml
Normal file
@@ -0,0 +1,24 @@
|
||||
[variables]
|
||||
main_domain = "${domain}"
|
||||
SCRYPTED_WEBHOOK_UPDATE_AUTHORIZATION = "${password:32}"
|
||||
|
||||
[config]
|
||||
[[config.domains]]
|
||||
serviceName = "scrypted"
|
||||
port = 11080
|
||||
host = "${main_domain}"
|
||||
|
||||
[config.env]
|
||||
# Scrypted service environment variables
|
||||
# SCRYPTED_WEBHOOK_UPDATE_AUTHORIZATION: API key for Scrypted webhook updates
|
||||
SCRYPTED_WEBHOOK_UPDATE_AUTHORIZATION = "${SCRYPTED_WEBHOOK_UPDATE_AUTHORIZATION}"
|
||||
SCRYPTED_WEBHOOK_UPDATE = "http://${main_domain}:10444/v1/update"
|
||||
|
||||
[[config.mounts]]
|
||||
filePath = "/files/scrypted-volume"
|
||||
content = ""
|
||||
|
||||
# Optional NVR volume, uncomment if needed
|
||||
# [[config.mounts]]
|
||||
# filePath = "/files/nvr"
|
||||
# content = ""
|
||||
Reference in New Issue
Block a user