24 lines
651 B
YAML
24 lines
651 B
YAML
|
version: "3"
|
||
|
|
||
|
services:
|
||
|
scrypted:
|
||
|
container_name: scrypted
|
||
|
image: koush/scrypted:18-jammy-full.s6-v0.41.0
|
||
|
volumes:
|
||
|
- ${APP_DATA_DIR}/data/scrypted/database:/server/volume
|
||
|
- ${ROOT_FOLDER_HOST}/media/data/NVR/scrypted:/nvr
|
||
|
environment:
|
||
|
- SCRYPTED_WEBHOOK_UPDATE_AUTHORIZATION=${SCRYPTED_BEARER_TOKEN}
|
||
|
#- SCRYPTED_WEBHOOK_UPDATE=${APP_PROTOCOL:-http}://${APP_DOMAIN}/v1/update
|
||
|
devices:
|
||
|
- /dev/bus/usb:/dev/bus/usb
|
||
|
- /dev/dri:/dev/dri
|
||
|
restart: unless-stopped
|
||
|
network_mode: host
|
||
|
logging:
|
||
|
driver: "json-file"
|
||
|
options:
|
||
|
max-size: "10m"
|
||
|
max-file: "10"
|
||
|
|