wvp-gb28181-project/docker/docker-compose.yml
2021-11-05 20:02:58 +08:00

32 lines
716 B
YAML

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"
- "80:80"
- "10000:10000/tcp"
- "10000:10000/udp"
- "30000-30500:30000-30500/tcp"
- "30000-30500:30000-30500/udp"
volumes:
- ./video:/opt/media/www/record/
environment:
TZ: "Asia/Shanghai"
WVP_HOST: 172.18.0.61
depends_on:
- redis