removed unused aniworld build
This commit is contained in:
parent
c614f576c5
commit
e58555e5e6
@ -1,14 +0,0 @@
|
|||||||
FROM alpine:3.20 AS base
|
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
|
||||||
python3
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
RUN mkdir services
|
|
||||||
RUN python3 -m venv services/aniworlddownloader_venv && \
|
|
||||||
services/aniworlddownloader_venv/bin/pip install --no-cache-dir aniworld
|
|
||||||
|
|
||||||
WORKDIR /
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
|
||||||
ENTRYPOINT ["sh", "/entrypoint.sh"]
|
|
||||||
@ -1,25 +0,0 @@
|
|||||||
FROM alpine:3.20 AS base
|
|
||||||
|
|
||||||
ARG PROXY_SERVER
|
|
||||||
ARG PROXY_PORT
|
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
|
||||||
python3 \
|
|
||||||
iptables
|
|
||||||
|
|
||||||
ADD https://github.com/semigodking/redsocks/releases/download/release-0.71/redsocks2-x86_64-release-0.71 /bin/redsocks2
|
|
||||||
RUN chmod +x /bin/redsocks2
|
|
||||||
|
|
||||||
COPY redsocks.conf /etc/redsocks.conf
|
|
||||||
RUN sed -i "s/vPROXY-SERVER/${PROXY_SERVER}/g" /etc/redsocks.conf && \
|
|
||||||
sed -i "s/vPROXY-PORT/${PROXY_PORT}/g" /etc/redsocks.conf
|
|
||||||
|
|
||||||
RUN mkdir -p /services /var/aniworld
|
|
||||||
WORKDIR /services
|
|
||||||
|
|
||||||
RUN python3 -m venv aniworlddownloader_venv && \
|
|
||||||
aniworlddownloader_venv/bin/pip install --no-cache-dir aniworld
|
|
||||||
|
|
||||||
WORKDIR /
|
|
||||||
COPY entrypoint.sh.i2p /entrypoint.sh
|
|
||||||
ENTRYPOINT ["sh", "/entrypoint.sh"]
|
|
||||||
@ -1,6 +0,0 @@
|
|||||||
#!/usr/share/env bash
|
|
||||||
|
|
||||||
|
|
||||||
/services/aniworlddownloader_venv/bin/aniworld --web-ui --no-browser --web-expose --web-port 3000 --output-dir /var/aniworld/downloads &
|
|
||||||
|
|
||||||
while true; do sleep 1000; done
|
|
||||||
@ -1,8 +0,0 @@
|
|||||||
#!/usr/share/env bash
|
|
||||||
iptables -t nat -A OUTPUT -p tcp --dport 80 -j REDIRECT --to-port 12345
|
|
||||||
iptables -t nat -A OUTPUT -p tcp --dport 443 -j REDIRECT --to-port 12345
|
|
||||||
|
|
||||||
redsocks2 -c /etc/redsocks.conf
|
|
||||||
/services/aniworlddownloader_venv/bin//aniworld --web-ui --no-browser --web-expose --web-port 3000 --output-dir /var/aniworld/downloads &
|
|
||||||
|
|
||||||
while true; do sleep 1000; done
|
|
||||||
@ -1,14 +0,0 @@
|
|||||||
base {
|
|
||||||
log_debug = off;
|
|
||||||
log_info = on;
|
|
||||||
log = "file:/var/log/redsocks.log";
|
|
||||||
daemon = on;
|
|
||||||
user = root;
|
|
||||||
group = root;
|
|
||||||
redirector = iptables;
|
|
||||||
}
|
|
||||||
redsocks {
|
|
||||||
bind = "127.0.0.1:12345";
|
|
||||||
relay= "vPROXY-SERVER:vPROXY-PORT";
|
|
||||||
type = "http-connect";
|
|
||||||
}
|
|
||||||
@ -1,15 +0,0 @@
|
|||||||
[Interface]
|
|
||||||
# Key for proxmoxADS
|
|
||||||
# Bouncing = 2
|
|
||||||
# NAT-PMP (Port Forwarding) = off
|
|
||||||
# VPN Accelerator = on
|
|
||||||
# Table = off
|
|
||||||
PrivateKey = uPGxlIrs0+erepQsbnkld/aBde7qd7HwwsMrGaNtGUg=
|
|
||||||
Address = 10.2.0.2/32
|
|
||||||
DNS = 10.2.0.1
|
|
||||||
|
|
||||||
[Peer]
|
|
||||||
# NL-FREE#136
|
|
||||||
PublicKey = 8xx8LqTpTHCEWou3Wu43p2CaEqnO9kcKQrLb+C8fZw8=
|
|
||||||
AllowedIPs = 0.0.0.0/0, ::/0
|
|
||||||
Endpoint = 169.150.218.70:51820
|
|
||||||
Loading…
x
Reference in New Issue
Block a user