route txes through tor and i2p proxies (#29)
* route txes through tor and i2p proxies * include entry script * update docker-files with dependency order and use new monerod command * Update dockerfiles/i2p Co-authored-by: nahuhh <50635951+nahuhh@users.noreply.github.com> * Update dockerfiles/i2p Co-authored-by: nahuhh <50635951+nahuhh@users.noreply.github.com> * Update dockerfiles/i2p-entrypoint.sh Co-authored-by: nahuhh <50635951+nahuhh@users.noreply.github.com> * Update dockerfiles/monero-entrypoint.sh Co-authored-by: nahuhh <50635951+nahuhh@users.noreply.github.com> * Update dockerfiles/monero-entrypoint.sh Co-authored-by: nahuhh <50635951+nahuhh@users.noreply.github.com> * remove q install and dns, specify private ip for tor/i2p * fix ips * use ubuntu 22.04 for tor build * fix i2pd configs * adjust i2p config, no depends on monerod * use gunicorn for flask app, faster restart time --------- Co-authored-by: nahuhh <50635951+nahuhh@users.noreply.github.com>
This commit is contained in:
@@ -6,8 +6,9 @@ RUN apt update && apt install wget python3 python3-venv -y
|
||||
RUN python3 -m venv .venv
|
||||
RUN .venv/bin/pip install flask==3.0.0
|
||||
RUN .venv/bin/pip install geoip2==4.7.0
|
||||
RUN .venv/bin/pip install gunicorn==23.0.0
|
||||
RUN wget https://github.com/P3TERX/GeoLite.mmdb/raw/download/GeoLite2-City.mmdb -qO ./geoip.mmdb
|
||||
|
||||
COPY dockerfiles/nodemapper.py app.py
|
||||
|
||||
ENTRYPOINT [ ".venv/bin/flask", "--app", "app", "run", "--host", "::" ]
|
||||
ENTRYPOINT [ ".venv/bin/gunicorn", "-b", "0.0.0.0:5000", "app:app" ]
|
||||
|
||||
Reference in New Issue
Block a user