6 Commits

Author SHA1 Message Date
Paramtamtam
bc3ff69d72 fix the service manifest 2025-02-02 16:25:49 +04:00
Paramtamtam
2e946b4a5b wip: 🔕 temporary commit 2025-02-02 15:57:08 +04:00
Paramtamtam
f5dd0d94ea wip: 🔕 temporary commit 2025-02-02 15:53:15 +04:00
Paramtamtam
3cbe16f0e8 wip: 🔕 temporary commit 2025-02-02 15:05:14 +04:00
Paramtamtam
2a0d771bcc wip: 🔕 temporary commit 2025-02-02 15:01:41 +04:00
Paramtamtam
80634ef5e5 feat: Helm chart 2025-02-02 14:37:12 +04:00
2 changed files with 4 additions and 4 deletions

View File

@@ -2,19 +2,19 @@
FROM gcc:13.3.0 AS builder
# renovate: source=github-tags name=3proxy/3proxy
# renovate: source=github-tags name=z3APA3A/3proxy
ARG Z3PROXY_VERSION=0.9.4
# Fetch 3proxy sources
RUN set -x \
&& git -c advice.detachedHead=false clone --depth 1 --branch "${Z3PROXY_VERSION}" https://github.com/3proxy/3proxy.git /tmp/3proxy
&& git -c advice.detachedHead=false clone --depth 1 --branch "${Z3PROXY_VERSION}" https://github.com/z3APA3A/3proxy.git /tmp/3proxy
WORKDIR /tmp/3proxy
# Patch sources
RUN set -x \
&& echo '#define ANONYMOUS 1' >> ./src/3proxy.h \
# proxy.c source: <https://github.com/3proxy/3proxy/blob/0.9.3/src/proxy.c>
# proxy.c source: <https://github.com/z3APA3A/3proxy/blob/0.9.3/src/proxy.c>
&& sed -i 's~\(<\/head>\)~<style>:root{--color-bg-primary:#fff;--color-text-primary:#131313;--color-text-secondary:#232323}\
@media (prefers-color-scheme: dark){:root{--color-bg-primary:#212121;--color-text-primary:#fafafa;--color-text-secondary:#bbb}}\
html,body{height:100%;font-family:sans-serif;background-color:var(--color-bg-primary);color:var(--color-text-primary);margin:0;\

View File

@@ -30,6 +30,6 @@ And override the default values in your `values.yaml`:
```yaml
proxy-3proxy:
# ...
service: {ports: {http: 3128}}
service: {port: 8800}
# ...
```