Skip to content

Instantly share code, notes, and snippets.

@chanlettuce
Created September 21, 2020 21:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chanlettuce/6f186ce4a1ae6d171ec785047fb153a5 to your computer and use it in GitHub Desktop.
Save chanlettuce/6f186ce4a1ae6d171ec785047fb153a5 to your computer and use it in GitHub Desktop.
SoftEther Docker Compose
version: '3'
services:
vpnserver:
image: siomiz/softethervpn:alpine
restart: always
volumes:
- /data/se-vpn/vpn_server.config:/usr/vpnserver/vpn_server.config
environment:
SPW: ${ADMIN_PASSWORD}
HPW: ${ADMIN_PASSWORD}
PSK: ${PSK}
USERS: ${ADMIN_USERNAME}:${ADMIN_PASSWORD}
ports:
- '53:53/udp'
- '500:500/udp'
- '4500:4500/udp'
- '1701:1701/tcp'
- '5555:5555/tcp'
cap_add:
- 'NET_ADMIN'
logging:
options:
max-size: '200k'
max-file: '10'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment