docker-compose.yml 893 B

12345678910111213141516171819202122232425262728293031
  1. services:
  2. pjsua:
  3. image: pjsua2:v2.14.1214
  4. container_name: voip
  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. - /home/hongshan/freeswitch:/freeswitch
  12. environment:
  13. - SERVE_HOST=192.168.120.161
  14. - TZ=Asia/Shanghai
  15. ports:
  16. - 8084:8084/udp
  17. - 8084:8084/tcp
  18. - 5008:5000/udp
  19. - 5008:5000/tcp
  20. - 8090:8090/udp
  21. - 8090:8090/tcp
  22. - 8091:8091/udp
  23. - 8091:8091/tcp
  24. # - 5060:5060/udp
  25. # - 5060:5060/tcp
  26. # - 5080:5080/tcp
  27. # - 5080:5080/udp
  28. # - 5066:5066/tcp
  29. # - 7443:7443/tcp
  30. # - 8021:8021/tcp
  31. # - "64536-64556:64536-64556/udp"