diff --git a/apps/rego-tunnel-linux/docker-compose.json b/apps/rego-tunnel-linux/docker-compose.json index e490b19..b35f03d 100644 --- a/apps/rego-tunnel-linux/docker-compose.json +++ b/apps/rego-tunnel-linux/docker-compose.json @@ -5,64 +5,23 @@ "name": "rego-tunnel-linux", "image": "qemux/qemu:latest", "environment": [ - { - "key": "BOOT", - "value": "${LINUX_DISTRO}" - }, - { - "key": "RAM_SIZE", - "value": "${LINUX_RAM_GB}G" - }, - { - "key": "CPU_CORES", - "value": "${LINUX_CPU_CORES}" - }, - { - "key": "DISK_SIZE", - "value": "${LINUX_DISK_SIZE_GB}G" - }, - { - "key": "DHCP", - "value": "Y" - } + {"key": "BOOT", "value": "${LINUX_DISTRO}"}, + {"key": "RAM_SIZE", "value": "${LINUX_RAM_GB}G"}, + {"key": "CPU_CORES", "value": "${LINUX_CPU_CORES}"}, + {"key": "DISK_SIZE", "value": "${LINUX_DISK_SIZE_GB}G"} ], "internalPort": 8006, "volumes": [ - { - "hostPath": "${APP_DATA_DIR}/data/storage", - "containerPath": "/storage", - "readOnly": false, - "shared": false, - "private": false - }, - { - "hostPath": "${APP_DATA_DIR}/data/shared", - "containerPath": "/shared", - "readOnly": false, - "shared": false, - "private": false - }, - { - "hostPath": "/etc/runtipi/repos/runtipi/apps/rego-tunnel-linux/vpn_scripts", - "containerPath": "/vpn_scripts", - "readOnly": true, - "shared": false, - "private": false - } + {"hostPath": "${APP_DATA_DIR}/data/storage", "containerPath": "/storage", "readOnly": false, "shared": false, "private": false}, + {"hostPath": "${APP_DATA_DIR}/data/shared", "containerPath": "/shared", "readOnly": false, "shared": false, "private": false}, + {"hostPath": "/etc/runtipi/repos/runtipi/apps/rego-tunnel-linux/vpn_scripts", "containerPath": "/vpn_scripts", "readOnly": true, "shared": false, "private": false} ], "stopGracePeriod": "2m", "sysctls": {}, - "devices": [ - "/dev/kvm", - "/dev/net/tun" - ], - "capAdd": [ - "NET_ADMIN" - ], + "devices": ["/dev/kvm", "/dev/net/tun"], + "capAdd": ["NET_ADMIN"], "isMain": true, - "extraLabels": { - "runtipi.managed": true - } + "extraLabels": {"runtipi.managed": true} } ] }