siomiz / SoftEtherVPN

A Docker Automated Build Repository for SoftEther VPN
https://hub.docker.com/r/siomiz/softethervpn/
MIT License
454 stars 174 forks source link

how to do run this image with docker-compose? #104

Open dawang1024 opened 2 years ago

dawang1024 commented 2 years ago

how to do run this image with docker-compose?

Please provide a test case, Thank you very much;

Neo-Desktop commented 1 year ago
version: "3"
services:
  softether:
    image: siomiz/softethervpn
    volumes:
      - ./softether/vpn_server.config:/usr/vpnserver/vpn_server.config
    cap_add:
      - NET_ADMIN
    ports:
      - 443:443/tcp
      - 500:500/udp
      - 4500:4500/udp
      - 1701:1701/tcp
      - 1194:1194/udp
      - 5555:5555/tcp
Neo-Desktop commented 1 year ago

also @dawang1024 - https://github.com/siomiz/SoftEtherVPN/blob/master/docker-compose.yml