rego-tunnel: parameterize net + add DHCP static lease
Some checks failed
Test / test (push) Has been cancelled
Some checks failed
Test / test (push) Has been cancelled
This commit is contained in:
@@ -15,9 +15,19 @@ services:
|
||||
environment:
|
||||
- VM_RAM=${WINDOWS_RAM_GB}G
|
||||
- VM_CPUS=${WINDOWS_CPU_CORES}
|
||||
- BRIDGE_NAME=${BRIDGE_NAME:-br-rego-vpn}
|
||||
- TAP_NAME=${TAP_NAME:-tap0}
|
||||
- BRIDGE_CIDR=${BRIDGE_CIDR:-100.100.0.1/24}
|
||||
- VM_NET_IP=${VM_NET_IP:-100.100.0.2}
|
||||
- VM_SUBNET=${VM_SUBNET:-100.100.0.0/24}
|
||||
- TARGET_IP=${TARGET_IP:-10.35.33.230}
|
||||
- VM_MAC=${VM_MAC:-52:54:00:12:34:56}
|
||||
- DNS_SERVERS=${DNS_SERVERS:-1.1.1.1,8.8.8.8}
|
||||
- LEASE_TIME=${LEASE_TIME:-12h}
|
||||
volumes:
|
||||
- /etc/runtipi/user-config/runtipi/rego-tunnel/storage/linux-vm.qcow2:/vm/linux-vm.qcow2
|
||||
- /etc/runtipi/user-config/runtipi/rego-tunnel/shared:/shared
|
||||
- /etc/runtipi/app-data:/shared/app-data
|
||||
networks:
|
||||
- tipi_main_network
|
||||
sysctls:
|
||||
|
||||
Reference in New Issue
Block a user