Compare commits

..

1 Commits

Author SHA1 Message Date
Gitea Actions Bot
f79dd14e43 Auto-update README with current k8s applications
All checks were successful
Terraform / Terraform (pull_request) Successful in 17s
Generated by CI/CD workflow on 2026-02-11 10:14:56

This PR updates the README.md file with the current list of applications found in the k8s/ directory structure.
2026-02-11 10:14:56 +00:00
3 changed files with 16 additions and 53 deletions

View File

@@ -1,33 +0,0 @@
FROM debian:bookworm-slim AS builder
RUN apt-get update && apt-get install -y \
git curl build-essential libssl-dev zlib1g-dev \
&& rm -rf /var/lib/apt/lists/*
RUN git clone https://github.com/TelegramMessenger/MTProxy.git /src
WORKDIR /src
RUN make -j$(nproc)
FROM debian:bookworm-slim
ENV PROXY_PORT=30443
ENV STATS_PORT=8888
ENV WORKERS=1
ENV RUN_USER=nobody
RUN apt-get update && apt-get install -y \
curl libssl3 zlib1g xxd \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /src/objs/bin/mtproto-proxy /usr/local/bin/mtproto-proxy
RUN curl -s https://core.telegram.org/getProxySecret -o /etc/mtproxy/proxy-secret --create-dirs && \
curl -s https://core.telegram.org/getProxyConfig -o /etc/mtproxy/proxy-multi.conf
ENTRYPOINT mtproto-proxy \
-u ${RUN_USER} \
-p ${STATS_PORT} \
-H ${PROXY_PORT} \
-M ${WORKERS} \
--aes-pwd /etc/mtproxy/proxy-secret \
/etc/mtproxy/proxy-multi.conf

View File

@@ -1,16 +1,15 @@
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: DaemonSet kind: Deployment
metadata: metadata:
name: mtproxy name: mtproxy
labels: labels:
app: mtproxy app: mtproxy
spec: spec:
replicas: 1
selector: selector:
matchLabels: matchLabels:
app: mtproxy app: mtproxy
updateStrategy:
type: RollingUpdate
template: template:
metadata: metadata:
labels: labels:
@@ -21,31 +20,30 @@ spec:
requiredDuringSchedulingIgnoredDuringExecution: requiredDuringSchedulingIgnoredDuringExecution:
nodeSelectorTerms: nodeSelectorTerms:
- matchExpressions: - matchExpressions:
- key: mtproxy - key: xray-node-address
operator: Exists operator: Exists
hostNetwork: true
dnsPolicy: ClusterFirstWithHostNet
containers: containers:
- name: mtproxy - name: mtproxy
image: ultradesu/mtproxy:v0.02 image: telegrammessenger/proxy:latest
imagePullPolicy: Always imagePullPolicy: Always
ports: ports:
- name: proxy - name: proxy
containerPort: 30443 containerPort: 443
protocol: TCP protocol: TCP
env: env:
- name: SECRET - name: SECRET
value: "4ef8819478eb9c8928ab741300235a8e" value: "00baadf00d15abad1deaa51sbaadcafe"
volumeMounts: volumeMounts:
- name: data - name: data
mountPath: /data mountPath: /data
#resources: resources:
# requests: requests:
# memory: "128Mi" memory: "128Mi"
# cpu: "100m" cpu: "100m"
# limits: limits:
# memory: "256Mi" memory: "256Mi"
# cpu: "500m" cpu: "500m"
volumes: volumes:
- name: data - name: data
emptyDir: {} persistentVolumeClaim:
claimName: mtproxy-data

View File

@@ -10,7 +10,5 @@ spec:
ports: ports:
- name: proxy - name: proxy
port: 30443 port: 30443
targetPort: 30443 targetPort: 443
protocol: TCP protocol: TCP
nodePort: 30443