fix(rego-tunnel): Make app work out of the box from repo
Some checks failed
Test / test (push) Has been cancelled

- Add init-rego.sh and xstartup to repo's shared folder
- Update docker-compose.json with all volume mounts
- Update docker-compose.yml with cgroup: host
- Mount scripts directly from repo (not user-config)

Now works on fresh install without any user-config overrides.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-01-16 20:49:39 +00:00
parent 38c4eea2f0
commit b52ba03be4
4 changed files with 107 additions and 21 deletions

View File

@@ -12,15 +12,17 @@ services:
VPN_PASSWORD: ${VPN_PASSWORD}
VPN_TOTP_SECRET: ${VPN_TOTP_SECRET}
VPN_HOST: ${VPN_HOST}
VPN_AUTO_CONNECT: ${VPN_AUTO_CONNECT}
VNC_PASSWORD: ${VNC_PASSWORD}
TZ: ${TZ}
TARGET_IP: ${TARGET_IP}
ports:
- ${APP_PORT}:6080
volumes:
- ${APP_DATA_DIR}/config:/config
- /etc/runtipi/user-config/runtipi/rego-tunnel/shared:/shared
- /etc/runtipi/repos/runtipi/apps/rego-tunnel/shared:/shared
- /sys/fs/cgroup:/sys/fs/cgroup:rw
- /etc/runtipi/repos/runtipi/apps/rego-tunnel/shared/init-rego.sh:/opt/scripts/init-vpn.sh:ro
- /etc/runtipi/repos/runtipi/apps/rego-tunnel/shared/xstartup:/root/.vnc/xstartup:ro
labels:
generated: true
traefik.enable: true