Compare commits
9 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
40a920cbdf | ||
|
|
af4a4c9216 | ||
|
|
43bd0b6ac3 | ||
|
|
c4a40fad9f | ||
|
|
e1d6a09f6f | ||
| e37c365630 | |||
|
|
6cf7a68ad7 | ||
|
|
b82407f31f | ||
| 117583e660 |
@@ -48,6 +48,7 @@ ArgoCD homelab project
|
|||||||
| **paperless** | [](https://ag.hexor.cy/applications/argocd/paperless) |
|
| **paperless** | [](https://ag.hexor.cy/applications/argocd/paperless) |
|
||||||
| **pasarguard** | [](https://ag.hexor.cy/applications/argocd/pasarguard) |
|
| **pasarguard** | [](https://ag.hexor.cy/applications/argocd/pasarguard) |
|
||||||
| **qbittorent-nas** | [](https://ag.hexor.cy/applications/argocd/qbittorent-nas) |
|
| **qbittorent-nas** | [](https://ag.hexor.cy/applications/argocd/qbittorent-nas) |
|
||||||
|
| **remnawave** | [](https://ag.hexor.cy/applications/argocd/remnawave) |
|
||||||
| **rustdesk** | [](https://ag.hexor.cy/applications/argocd/rustdesk) |
|
| **rustdesk** | [](https://ag.hexor.cy/applications/argocd/rustdesk) |
|
||||||
| **sonarr-stack** | [](https://ag.hexor.cy/applications/argocd/sonarr-stack) |
|
| **sonarr-stack** | [](https://ag.hexor.cy/applications/argocd/sonarr-stack) |
|
||||||
| **stirling-pdf** | [](https://ag.hexor.cy/applications/argocd/stirling-pdf) |
|
| **stirling-pdf** | [](https://ag.hexor.cy/applications/argocd/stirling-pdf) |
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ spec:
|
|||||||
data:
|
data:
|
||||||
METRICS_USER: admin
|
METRICS_USER: admin
|
||||||
FRONT_END_DOMAIN: rw.hexor.cy
|
FRONT_END_DOMAIN: rw.hexor.cy
|
||||||
SUB_PUBLIC_DOMAIN: rw.hexor.cy/api/sub
|
SUB_PUBLIC_DOMAIN: sub.hexor.cy
|
||||||
REDIS_HOST: remnawave-redis
|
REDIS_HOST: remnawave-redis
|
||||||
REDIS_PORT: "6379"
|
REDIS_PORT: "6379"
|
||||||
|
|
||||||
|
|||||||
@@ -5,4 +5,8 @@ resources:
|
|||||||
- ./external-secrets.yaml
|
- ./external-secrets.yaml
|
||||||
- ./deployment.yaml
|
- ./deployment.yaml
|
||||||
- ./redis-deployment.yaml
|
- ./redis-deployment.yaml
|
||||||
|
- ./subscription-page-configmap.yaml
|
||||||
|
- ./subscription-page-deployment.yaml
|
||||||
- ./servicemonitor.yaml
|
- ./servicemonitor.yaml
|
||||||
|
- ./user-ui-ingress.yaml
|
||||||
|
- ./panel-ingress.yaml
|
||||||
|
|||||||
37
k8s/apps/remnawave/panel-ingress.yaml
Normal file
37
k8s/apps/remnawave/panel-ingress.yaml
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: panel-ui
|
||||||
|
annotations:
|
||||||
|
ingressClassName: traefik
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt
|
||||||
|
traefik.ingress.kubernetes.io/router.middlewares: kube-system-https-redirect@kubernetescrd
|
||||||
|
acme.cert-manager.io/http01-edit-in-place: "true"
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: rw.hexor.cy
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: remnawave
|
||||||
|
port:
|
||||||
|
number: 3000
|
||||||
|
- host: rw.hexor.ru
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: remnawave
|
||||||
|
port:
|
||||||
|
number: 3000
|
||||||
|
tls:
|
||||||
|
- secretName: remnawave-panel-tls
|
||||||
|
hosts:
|
||||||
|
- rw.hexor.cy
|
||||||
|
- rw.hexor.ru
|
||||||
27
k8s/apps/remnawave/subscription-page-configmap.yaml
Normal file
27
k8s/apps/remnawave/subscription-page-configmap.yaml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: remnawave-subscription-page-config
|
||||||
|
labels:
|
||||||
|
app: remnawave-subscription-page
|
||||||
|
data:
|
||||||
|
APP_PORT: "3010"
|
||||||
|
REMNAWAVE_PANEL_URL: "https://rw.hexor.cy"
|
||||||
|
META_TITLE: "RemnaWave Subscription"
|
||||||
|
META_DESCRIPTION: "Your VPN subscription portal"
|
||||||
|
META_KEYWORDS: "vpn,subscription,remnawave"
|
||||||
|
META_AUTHOR: "RemnaWave"
|
||||||
|
ENABLE_ANALYTICS: "false"
|
||||||
|
ANALYTICS_MEASUREMENT_ID: ""
|
||||||
|
CUSTOM_SUB_PREFIX: ""
|
||||||
|
THEME: "dark"
|
||||||
|
CUSTOM_LOGO_URL: ""
|
||||||
|
SHOW_SUBSCRIPTION_INFO: "true"
|
||||||
|
SHOW_CONNECTION_INFO: "true"
|
||||||
|
SHOW_QR_CODE: "true"
|
||||||
|
QR_CODE_SIZE: "256"
|
||||||
|
REFRESH_INTERVAL: "30000"
|
||||||
|
SUBSCRIPTION_TEXT_COLOR: "#ffffff"
|
||||||
|
BACKGROUND_COLOR: "#1a1a1a"
|
||||||
|
ACCENT_COLOR: "#007bff"
|
||||||
68
k8s/apps/remnawave/subscription-page-deployment.yaml
Normal file
68
k8s/apps/remnawave/subscription-page-deployment.yaml
Normal file
@@ -0,0 +1,68 @@
|
|||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: remnawave-subscription-page
|
||||||
|
labels:
|
||||||
|
app: remnawave-subscription-page
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: remnawave-subscription-page
|
||||||
|
replicas: 1
|
||||||
|
strategy:
|
||||||
|
type: RollingUpdate
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: remnawave-subscription-page
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: subscription-page
|
||||||
|
image: 'remnawave/subscription-page:latest'
|
||||||
|
imagePullPolicy: Always
|
||||||
|
envFrom:
|
||||||
|
- configMapRef:
|
||||||
|
name: remnawave-subscription-page-config
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
containerPort: 3010
|
||||||
|
protocol: TCP
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: 3010
|
||||||
|
initialDelaySeconds: 30
|
||||||
|
periodSeconds: 30
|
||||||
|
timeoutSeconds: 5
|
||||||
|
failureThreshold: 3
|
||||||
|
readinessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /
|
||||||
|
port: 3010
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
periodSeconds: 10
|
||||||
|
timeoutSeconds: 3
|
||||||
|
failureThreshold: 3
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
memory: "64Mi"
|
||||||
|
cpu: "50m"
|
||||||
|
limits:
|
||||||
|
memory: "256Mi"
|
||||||
|
cpu: "200m"
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: remnawave-subscription-page
|
||||||
|
labels:
|
||||||
|
app: remnawave-subscription-page
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: remnawave-subscription-page
|
||||||
|
ports:
|
||||||
|
- name: http
|
||||||
|
protocol: TCP
|
||||||
|
port: 3010
|
||||||
|
targetPort: 3010
|
||||||
37
k8s/apps/remnawave/user-ui-ingress.yaml
Normal file
37
k8s/apps/remnawave/user-ui-ingress.yaml
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: user-ui
|
||||||
|
annotations:
|
||||||
|
ingressClassName: traefik
|
||||||
|
cert-manager.io/cluster-issuer: letsencrypt
|
||||||
|
traefik.ingress.kubernetes.io/router.middlewares: kube-system-https-redirect@kubernetescrd
|
||||||
|
acme.cert-manager.io/http01-edit-in-place: "true"
|
||||||
|
spec:
|
||||||
|
rules:
|
||||||
|
- host: sub.hexor.cy
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: remnawave-subscription-page
|
||||||
|
port:
|
||||||
|
number: 3010
|
||||||
|
- host: sub.hexor.ru
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: remnawave-subscription-page
|
||||||
|
port:
|
||||||
|
number: 3010
|
||||||
|
tls:
|
||||||
|
- secretName: remnawave-user-ui-tls
|
||||||
|
hosts:
|
||||||
|
- sub.hexor.cy
|
||||||
|
- sub.hexor.ru
|
||||||
@@ -47,7 +47,7 @@ server:
|
|||||||
- minecraft.hexor.cy # Minecraft UI and server
|
- minecraft.hexor.cy # Minecraft UI and server
|
||||||
- pass.hexor.cy # k8s-secret for openai
|
- pass.hexor.cy # k8s-secret for openai
|
||||||
- ps.hexor.cy # pasarguard UI
|
- ps.hexor.cy # pasarguard UI
|
||||||
- rw.hexor.cy # RemnaWave UI
|
# - rw.hexor.cy # RemnaWave UI
|
||||||
tls:
|
tls:
|
||||||
- secretName: idm-tls
|
- secretName: idm-tls
|
||||||
hosts:
|
hosts:
|
||||||
|
|||||||
@@ -206,22 +206,5 @@ EOT
|
|||||||
create_group = true
|
create_group = true
|
||||||
access_groups = ["admins"]
|
access_groups = ["admins"]
|
||||||
}
|
}
|
||||||
"remnawave" = {
|
|
||||||
name = "RemnaWave"
|
|
||||||
slug = "remnawave"
|
|
||||||
group = "Tools"
|
|
||||||
external_host = "https://rw.hexor.cy"
|
|
||||||
internal_host = "https://remnawave.remnawave.svc:3000"
|
|
||||||
internal_host_ssl_validation = false
|
|
||||||
meta_description = ""
|
|
||||||
skip_path_regex = <<-EOT
|
|
||||||
/api/sub/
|
|
||||||
EOT
|
|
||||||
meta_icon = "https://camo.githubusercontent.com/0fbcff9dfaebb0363774139d00ef58d7f128eed3ddabaaf2bf7d18b68fd296a1/68747470733a2f2f63646e2e72656d6e612e73742f6c6f676f732f6c6f676f2e737667"
|
|
||||||
mode = "proxy"
|
|
||||||
outpost = "kubernetes-outpost"
|
|
||||||
create_group = true
|
|
||||||
access_groups = ["admins"]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user