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

32 lines
716 B
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
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 11:37:11 +08:00
environment:
TZ: "Asia/Shanghai"
2021-11-05 20:02:58 +08:00
WVP_HOST: 172.18.0.61
depends_on:
- redis