docker-compose.yml 848 B

123456789101112131415161718192021222324252627282930
  1. services:
  2. pjsua:
  3. image: pjsua2:v2.14.1206
  4. container_name: pjsua
  5. restart: always
  6. # network_mode: host
  7. volumes:
  8. # - /Users/davidliu/git/voice-gateway-service:/code
  9. - /home/hongshan/voice-gateway-service:/code
  10. - /root/aibot/dm/voice:/root/aibot/dm/voice
  11. environment:
  12. - SERVE_HOST=192.168.100.159
  13. - TZ=Asia/Shanghai
  14. ports:
  15. - 8084:8084/udp
  16. - 8084:8084/tcp
  17. - 5008:5000/udp
  18. - 5008:5000/tcp
  19. - 8090:8090/udp
  20. - 8090:8090/tcp
  21. - 8091:8091/udp
  22. - 8091:8091/tcp
  23. # - 5060:5060/udp
  24. # - 5060:5060/tcp
  25. # - 5080:5080/tcp
  26. # - 5080:5080/udp
  27. # - 5066:5066/tcp
  28. # - 7443:7443/tcp
  29. # - 8021:8021/tcp
  30. # - "64536-64556:64536-64556/udp"