Files
docker-monero-node/dockerfiles/nodemapper
lalanza808 cdcca37ce0 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>
2024-12-29 11:34:56 -08:00

15 lines
463 B
Plaintext

FROM ubuntu:22.04 as OG
WORKDIR /srv/nodemapper
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/gunicorn", "-b", "0.0.0.0:5000", "app:app" ]