Compare commits
6 Commits
v1.11.0
...
v1.11.0-rc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bc3ff69d72 | ||
|
|
2e946b4a5b | ||
|
|
f5dd0d94ea | ||
|
|
3cbe16f0e8 | ||
|
|
2a0d771bcc | ||
|
|
80634ef5e5 |
@@ -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;\
|
||||
|
||||
@@ -30,6 +30,6 @@ And override the default values in your `values.yaml`:
|
||||
```yaml
|
||||
proxy-3proxy:
|
||||
# ...
|
||||
service: {ports: {http: 3128}}
|
||||
service: {port: 8800}
|
||||
# ...
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user