加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose.yml 2.00 KB
一键复制 编辑 原始数据 按行查看 历史
bdqi 提交于 2021-09-13 17:52 . 交管局现场部署资料
version: '3.4'
services:
redis:
image: redis:alpine3.12
container_name: redis
restart: always
network_mode: "host"
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
gb28181-stream:
image: gostream/docker-gb28181-media:latest
#ports:
# - 1099:1099
# - 1554:1554
# - 1955:1955
# - 1080:1080
# - 40000-42000:40000-42000/udp
command:
["-PublicIP","64.5.6.50",
"-UDPPortMin","40000",
"-UDPPortMax","50000"]
container_name: gb28181-stream
restart: always
network_mode: "host"
ulimits:
nproc: 64435
nofile:
soft: 30000
hard: 40000
volumes:
- /var/lic/gb28181-stream/:/lic/:ro
- /etc/:/docker/etc/:ro
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
gb28181-signalling-app:
image: gostream/docker_gb28181_signalling:latest
command:
["app.js"]
container_name: gb28181-signalling-app
restart: always
network_mode: "host"
ulimits:
nproc: 64435
nofile:
soft: 30000
hard: 40000
volumes:
- /var/gb28181/signalling/config.json:/config.json:ro
- /root/gb28181_logs/:/root/gb28181/
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
depends_on:
- redis
- gb28181-stream
gb28181-signalling-app-query:
image: gostream/docker_gb28181_signalling:latest
command:
["app_query.js"]
container_name: gb28181-signalling-app-query
restart: always
network_mode: "host"
ulimits:
nproc: 64435
nofile:
soft: 30000
hard: 40000
volumes:
- /var/gb28181/signalling/config.json:/config.json:ro
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "5"
depends_on:
- redis
- gb28181-stream
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化