-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.storage.yaml
More file actions
28 lines (28 loc) · 1.24 KB
/
compose.storage.yaml
File metadata and controls
28 lines (28 loc) · 1.24 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
services:
srs:
volumes:
- "${DOCKER_DIR:-/home/docker}/video/srs-storage/conf:/usr/local/srs/conf"
- "${DATA_DIR:-/data}/srs-storage/html:/usr/local/srs/objs/nginx/html"
rtp:
volumes:
- "${DATA_DIR:-/data}/logs/rtp-storage:/logs"
- "${DATA_DIR:-/data}/srs-storage/html/dvr/live:/data/record"
depends_on:
- minio
environment:
# 启用存储 true=推流不判断超时
- gateway_dvr_enabled=true
# 启用mini 录像将存放minio中do
- spring_minio_enabled=true
- spring_minio_domain=https://${VIDEO_HOSTNAME:?required}:${VIDEO_PORT_HTTPS_0}/minio
- spring_minio_endpoint=http://${MINIO_HOST:-minio}:${MINIO_PORT:-8000}
- spring_minio_accessKey=${MINIO_ACCESSKEY:?required}
- spring_minio_secretKey=${MINIO_SECRETKEY:?required}
- spring_minio_bucketName=storage
# 启用mq通道 存储成功后通知mp并删除文件
- spring_rabbitmq_enabled=true
- spring_rabbitmq_host=${RABBITMQ_HOST:-rabbitmq}
- spring_rabbitmq_port=${RABBITMQ_PORT:-5672}
- spring_rabbitmq_username=${RABBITMQ_USERNAME:-admin}
- spring_rabbitmq_password=${RABBITMQ_PASSWORD:?required}
- spring_rabbitmq_virtual-host=/track