docker-compose.yaml 722 B

12345678910111213141516171819202122
  1. services:
  2. softether:
  3. image: softethervpn/vpnserver:latest
  4. hostname: softethervpnserver
  5. cap_add:
  6. - NET_ADMIN
  7. restart: always
  8. ports:
  9. #- 53:53 #DNS tunneling
  10. - 443:443 #Management and HTTPS tunneling
  11. - 992:992 #HTTPS tunneling
  12. #- 1194:1194/udp #OpenVPN
  13. #- 5555:5555 #HTTPS tunneling
  14. #- 500:500/udp #IPsec/L2TP
  15. #- 4500:4500/udp #IPsec/L2TP
  16. #- 1701:1701/udp #IPsec/L2TP
  17. volumes:
  18. - "/etc/localtime:/etc/localtime:ro"
  19. - "/etc/timezone:/etc/timezone:ro"
  20. - "./softether_data:/var/lib/softether"
  21. - "./softether_log:/var/log/softether"
  22. # - "./adminip.txt:/var/lib/softether/adminip.txt:ro"