mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-31 05:33:46 +00:00
Update docker-compose.yml
adjust comments
This commit is contained in:
parent
84b1a6fe46
commit
31292e7859
|
@ -7,8 +7,8 @@ services:
|
|||
container_name: ipsec-vpn-server
|
||||
environment:
|
||||
- VPN_IPSEC_PSK=3gAW0sDYI2ARSMQIQRa2xpIHb42JS+ImsiHdf3jbTl8 # set a secure psk; e.g. via `openssl rand -base64 32`
|
||||
- VPN_USER=vpn
|
||||
- VPN_PASSWORD=Cy7jRPIZGVK7dbAF5v # set a secure psk; e.g. via `openssl rand -base64 16`
|
||||
- VPN_USER=vpn # define your vpn username
|
||||
- VPN_PASSWORD=Cy7jRPIZGVK7dbAF5v # set a secure vpn password; e.g. via `openssl rand -base64 16`
|
||||
#- VPN_ADDL_USERS=additional_username_1 additional_username_2 # usernames must be separated by spaces, no duplicates allowed
|
||||
#- VPN_ADDL_PASSWORDS=additional_password_1 additional_password_2 # passwords must be separated by spaces
|
||||
#- VPN_ADDL_IP_ADDRS=192.168.42.2 192.168.42.3 # assign static IPs to VPN clients; IKEv2 mode does NOT support this feature
|
||||
|
@ -28,4 +28,4 @@ services:
|
|||
privileged: true
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/ipsec-vpn-server/data:/etc/ipsec.d # required to enable IKEv2
|
||||
- /lib/modules:/lib/modules:ro # required to pass kernel modules
|
||||
- /lib/modules:/lib/modules:ro # required to pass kernel modules
|
||||
|
|
Loading…
Reference in New Issue
Block a user