upload current sources
Some checks failed
Test / test (push) Has been cancelled

This commit is contained in:
2025-12-24 18:19:15 +00:00
parent 6b7efbe1da
commit 73280f3bbf
2 changed files with 38 additions and 25 deletions

View File

@@ -1,20 +1,40 @@
{ {
"schemaVersion": 2,
"services": [ "services": [
{ {
"name": "rego-tunnel-linux", "name": "rego-tunnel-linux",
"image": "rego-vpn:latest", "image": "rego-vpn:latest",
"isMain": true, "environment": [
"internalPort": 8806, {
"privileged": true, "key": "VNC_PASSWORD",
"capAdd": ["NET_ADMIN"], "value": "${VNC_PASSWORD}"
"devices": ["/dev/net/tun:/dev/net/tun"],
"environment": {
"VNC_PASSWORD": "${VNC_PASSWORD}",
"NOVNC_PORT": "8806"
}, },
{
"key": "NOVNC_PORT",
"value": "8806"
}
],
"internalPort": 8806,
"volumes": [ "volumes": [
{ "hostPath": "${APP_DATA_DIR}/data", "containerPath": "/root" } {
] "hostPath": "${APP_DATA_DIR}/data",
"containerPath": "/root",
"readOnly": false,
"shared": false,
"private": false
}
],
"devices": [
"/dev/net/tun:/dev/net/tun"
],
"privileged": true,
"capAdd": [
"NET_ADMIN"
],
"isMain": true,
"extraLabels": {
"runtipi.managed": true
}
} }
] ]
} }

View File

@@ -1,33 +1,26 @@
services: services:
rego-tunnel-linux: rego-tunnel-linux:
container_name: rego-tunnel-linux container_name: rego-tunnel-linux
image: qemux/qemu:latest image: rego-vpn:latest
restart: unless-stopped restart: unless-stopped
privileged: true
devices: devices:
- /dev/kvm - /dev/net/tun:/dev/net/tun
- /dev/net/tun
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
stop_grace_period: 2m
ports: ports:
- ${APP_PORT}:8006 - ${APP_PORT}:8806
environment: environment:
- BOOT=https://releases.ubuntu.com/24.04.1/ubuntu-24.04.1-desktop-amd64.iso - VNC_PASSWORD=${VNC_PASSWORD}
- RAM_SIZE=${LINUX_RAM_GB}G - NOVNC_PORT=8806
- CPU_CORES=${LINUX_CPU_CORES}
- DISK_SIZE=${LINUX_DISK_SIZE_GB}G
volumes: volumes:
- ${APP_DATA_DIR}/data/storage:/storage - ${APP_DATA_DIR}/data:/root
- ${APP_DATA_DIR}/data/shared:/shared
- /etc/runtipi/repos/runtipi/apps/rego-tunnel-linux/vpn_scripts:/vpn_scripts:ro
networks: networks:
- tipi_main_network - tipi_main_network
sysctls:
- net.ipv4.ip_forward=1
labels: labels:
traefik.enable: true traefik.enable: true
traefik.http.middlewares.rego-tunnel-linux-web-redirect.redirectscheme.scheme: https traefik.http.middlewares.rego-tunnel-linux-web-redirect.redirectscheme.scheme: https
traefik.http.services.rego-tunnel-linux.loadbalancer.server.port: 8006 traefik.http.services.rego-tunnel-linux.loadbalancer.server.port: 8806
traefik.http.routers.rego-tunnel-linux-insecure.rule: Host(`${APP_DOMAIN}`) traefik.http.routers.rego-tunnel-linux-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.rego-tunnel-linux-insecure.entrypoints: web traefik.http.routers.rego-tunnel-linux-insecure.entrypoints: web
traefik.http.routers.rego-tunnel-linux-insecure.service: rego-tunnel-linux traefik.http.routers.rego-tunnel-linux-insecure.service: rego-tunnel-linux