Compare commits
1 Commits
auto-updat
...
auto-updat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d84476df69 |
@@ -10,7 +10,7 @@ RUN make -j$(nproc)
|
|||||||
|
|
||||||
FROM debian:bookworm-slim
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
ENV PROXY_PORT=30443
|
ENV PROXY_PORT=443
|
||||||
ENV STATS_PORT=8888
|
ENV STATS_PORT=8888
|
||||||
ENV WORKERS=1
|
ENV WORKERS=1
|
||||||
ENV RUN_USER=nobody
|
ENV RUN_USER=nobody
|
||||||
|
|||||||
@@ -23,8 +23,6 @@ spec:
|
|||||||
- matchExpressions:
|
- matchExpressions:
|
||||||
- key: mtproxy
|
- key: mtproxy
|
||||||
operator: Exists
|
operator: Exists
|
||||||
hostNetwork: true
|
|
||||||
dnsPolicy: ClusterFirstWithHostNet
|
|
||||||
containers:
|
containers:
|
||||||
- name: mtproxy
|
- name: mtproxy
|
||||||
image: ultradesu/mtproxy:v0.02
|
image: ultradesu/mtproxy:v0.02
|
||||||
@@ -33,31 +31,19 @@ spec:
|
|||||||
- name: proxy
|
- name: proxy
|
||||||
containerPort: 30443
|
containerPort: 30443
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
command:
|
|
||||||
- /bin/sh
|
|
||||||
- -c
|
|
||||||
- >-
|
|
||||||
mtproto-proxy
|
|
||||||
-u nobody
|
|
||||||
-p 8888
|
|
||||||
-H 30443
|
|
||||||
-M 1
|
|
||||||
-S $(SECRET)
|
|
||||||
--aes-pwd /etc/mtproxy/proxy-secret
|
|
||||||
/etc/mtproxy/proxy-multi.conf
|
|
||||||
env:
|
env:
|
||||||
- name: SECRET
|
- name: SECRET
|
||||||
value: "4ef8819478eb9c8928ab741300235a8e"
|
value: "4ef8819478eb9c8928ab741300235a8e"
|
||||||
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: {}
|
emptyDir: {}
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ kind: Kustomization
|
|||||||
resources:
|
resources:
|
||||||
- ./app.yaml
|
- ./app.yaml
|
||||||
- ./deployment.yaml
|
- ./deployment.yaml
|
||||||
# - ./storage.yaml
|
- ./service.yaml
|
||||||
# - ./service.yaml
|
- ./storage.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user