wvp-gb28181-project/docker/docker-compose.yml

48 lines
1.2 KiB
YAML
Raw Normal View History

2021-11-05 11:37:11 +08:00
version: '3'
services:
redis:
image: redis
restart: always
volumes:
- ./redis/redis.conf:/etc/redis/redis_default.conf
- ./redis/data/:/data
environment:
TZ: "Asia/Shanghai"
command: redis-server /etc/redis/redis_default.conf --appendonly yes
wvp:
build:
context: ./wvp
2021-11-05 20:25:29 +08:00
args:
gitUrl: "https://gitee.com/xieyu1989"
zlmGitUrl: "https://gitee.com/xia-chu/ZLMediaKit"
2021-11-05 11:37:11 +08:00
restart: always
ports:
- "5060:5060"
- "5060:5060/udp"
- "18080:18080"
2021-11-05 20:02:58 +08:00
- "80:80"
- "10000:10000/tcp"
- "10000:10000/udp"
- "30000-30500:30000-30500/tcp"
- "30000-30500:30000-30500/udp"
volumes:
- ./video:/opt/media/www/record/
2021-11-05 20:25:29 +08:00
- ./logs/wvp:/opt/wvp/logs/
- ./logs/assist:/opt/assist/logs/
2021-11-05 22:44:10 +08:00
- ./logs/media:/opt/media/log/
2021-11-05 11:37:11 +08:00
environment:
TZ: "Asia/Shanghai"
2021-11-05 20:25:29 +08:00
# [必须修改] 本机的IP
2021-11-05 20:02:58 +08:00
WVP_HOST: 172.18.0.61
2021-11-05 20:25:29 +08:00
WVP_PWD: aseqw_+hiy123
2021-11-05 20:39:32 +08:00
WVP_DOMAIN: 6101130049
WVP_ID: 61011300490000000001
REDIS_HOST: redis
REDIS_PORT: 6379
REDIS_DB: 6
REDIS_PWD: root
2021-11-05 20:25:29 +08:00
ASSIST_CONFIG:
WVP_CONFIG:
2021-11-05 20:02:58 +08:00
depends_on:
- redis