services: rego-tunnel-linux: container_name: rego-tunnel-linux image: rego-vpn:latest restart: unless-stopped privileged: true devices: - /dev/net/tun:/dev/net/tun cap_add: - NET_ADMIN ports: - ${APP_PORT}:8806 environment: - VNC_PASSWORD=${VNC_PASSWORD} - NOVNC_PORT=8806 volumes: - ${APP_DATA_DIR}/data:/root networks: - tipi_main_network labels: traefik.enable: true traefik.http.middlewares.rego-tunnel-linux-web-redirect.redirectscheme.scheme: https 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.entrypoints: web traefik.http.routers.rego-tunnel-linux-insecure.service: rego-tunnel-linux traefik.http.routers.rego-tunnel-linux-insecure.middlewares: rego-tunnel-linux-web-redirect traefik.http.routers.rego-tunnel-linux.rule: Host(`${APP_DOMAIN}`) traefik.http.routers.rego-tunnel-linux.entrypoints: websecure traefik.http.routers.rego-tunnel-linux.service: rego-tunnel-linux traefik.http.routers.rego-tunnel-linux.tls.certresolver: myresolver traefik.http.routers.rego-tunnel-linux-local-insecure.rule: Host(`rego-tunnel-linux.${LOCAL_DOMAIN}`) traefik.http.routers.rego-tunnel-linux-local-insecure.entrypoints: web traefik.http.routers.rego-tunnel-linux-local-insecure.service: rego-tunnel-linux traefik.http.routers.rego-tunnel-linux-local-insecure.middlewares: rego-tunnel-linux-web-redirect traefik.http.routers.rego-tunnel-linux-local.rule: Host(`rego-tunnel-linux.${LOCAL_DOMAIN}`) traefik.http.routers.rego-tunnel-linux-local.entrypoints: websecure traefik.http.routers.rego-tunnel-linux-local.service: rego-tunnel-linux traefik.http.routers.rego-tunnel-linux-local.tls: true runtipi.managed: true