initial
This commit is contained in:
commit
7b99ac50ae
28
.deploy/.deploy-prod.yaml
Normal file
28
.deploy/.deploy-prod.yaml
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
version: "3.4"
|
||||||
|
|
||||||
|
|
||||||
|
services:
|
||||||
|
|
||||||
|
vpn:
|
||||||
|
image: hwdsl2/ipsec-vpn-server
|
||||||
|
environment:
|
||||||
|
VPN_DNS_SRV1: 8.8.8.8
|
||||||
|
VPN_DNS_SRV2: 1.0.0.1
|
||||||
|
VPN_USER: root
|
||||||
|
VPN_PASSWORD: $VPN_PASSWORD
|
||||||
|
VPN_IPSEC_PSK: $VPN_IPSEC_PSK
|
||||||
|
ports:
|
||||||
|
- 500:500/udp
|
||||||
|
- 4500:4500/udp
|
||||||
|
volumes:
|
||||||
|
- /lib/modules:/lib/modules:ro
|
||||||
|
deploy:
|
||||||
|
mode: replicated
|
||||||
|
restart_policy:
|
||||||
|
condition: any
|
||||||
|
placement:
|
||||||
|
constraints:
|
||||||
|
- node.role == manager
|
||||||
|
update_config:
|
||||||
|
parallelism: 1
|
||||||
|
order: start-first
|
Loading…
Reference in New Issue
Block a user