Created
September 21, 2020 21:38
-
-
Save chanlettuce/6f186ce4a1ae6d171ec785047fb153a5 to your computer and use it in GitHub Desktop.
SoftEther Docker Compose
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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