mirror of
https://github.com/getumbrel/umbrel-apps.git
synced 2026-12-02 09:42:28 +03:00
Co-authored-by: M <m@Ms-MacBook-Pro.local> Co-authored-by: mstrofnone <mstrofnone@users.noreply.github.com> Co-authored-by: al-lac <lackner.alex@gmail.com> Co-authored-by: nmfretz <nmfretz@gmail.com>
85 lines
2.8 KiB
YAML
85 lines
2.8 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
app_proxy:
|
|
environment:
|
|
APP_HOST: $APP_NAMECOIN_WEB_IP
|
|
APP_PORT: 18080
|
|
|
|
namecoind:
|
|
image: ghcr.io/mstrofnone/namecoin-core-umbrel:32.1-umbrel.ci.2@sha256:84934418cd1dc2f8849730eb813dc104abf77147cd6c364cb69a571f29748bbb
|
|
user: "1000:1000"
|
|
restart: on-failure
|
|
stop_grace_period: 15m30s
|
|
ports:
|
|
- "${APP_NAMECOIN_P2P_PORT}:${APP_NAMECOIN_P2P_PORT}"
|
|
- "${APP_NAMECOIN_RPC_PORT}:${APP_NAMECOIN_RPC_PORT}"
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/namecoind:/data/.namecoin
|
|
environment:
|
|
NAMECOIN_RPC_USER: "${APP_NAMECOIN_RPC_USER}"
|
|
NAMECOIN_RPC_PASS: "${APP_NAMECOIN_RPC_PASS}"
|
|
# Network settings
|
|
NAMECOIND_IP: "${APP_NAMECOIN_NODE_IP}"
|
|
P2P_PORT: "${APP_NAMECOIN_P2P_PORT}"
|
|
RPC_PORT: "${APP_NAMECOIN_RPC_PORT}"
|
|
TOR_PORT: "${APP_NAMECOIN_TOR_PORT}"
|
|
# Tor proxy settings
|
|
TOR_HOST: "${APP_NAMECOIN_TOR_PROXY_IP}"
|
|
TOR_SOCKS_PORT: "9050"
|
|
TOR_CONTROL_PORT: "9051"
|
|
TOR_CONTROL_PASSWORD: "moneyprintergobrrr"
|
|
# I2P settings
|
|
I2P_HOST: "${APP_NAMECOIN_I2P_DAEMON_IP}"
|
|
I2P_SAM_PORT: "7656"
|
|
# Hidden services
|
|
P2P_HIDDEN_SERVICE: "${APP_NAMECOIN_P2P_HIDDEN_SERVICE}"
|
|
RPC_HIDDEN_SERVICE: "${APP_NAMECOIN_RPC_HIDDEN_SERVICE}"
|
|
networks:
|
|
default:
|
|
ipv4_address: $APP_NAMECOIN_NODE_IP
|
|
|
|
web:
|
|
image: ghcr.io/mstrofnone/namecoin-core-umbrel-web:32.1-umbrel.ci.2@sha256:cb8b56f8a40948071a7976b50714e3cd94a1f8d04e3e917b72568ad586a61d42
|
|
user: "1000:1000"
|
|
restart: on-failure
|
|
environment:
|
|
NAMECOIND_HOST: $APP_NAMECOIN_NODE_IP
|
|
NAMECOIND_RPC_PORT: "${APP_NAMECOIN_RPC_PORT}"
|
|
NAMECOIND_RPC_USER: "${APP_NAMECOIN_RPC_USER}"
|
|
NAMECOIND_RPC_PASS: "${APP_NAMECOIN_RPC_PASS}"
|
|
PORT: 18080
|
|
P2P_PORT: "${APP_NAMECOIN_P2P_PORT}"
|
|
P2P_HIDDEN_SERVICE: "${APP_NAMECOIN_P2P_HIDDEN_SERVICE}"
|
|
RPC_HIDDEN_SERVICE: "${APP_NAMECOIN_RPC_HIDDEN_SERVICE}"
|
|
DEVICE_DOMAIN_NAME: "${DEVICE_DOMAIN_NAME}"
|
|
depends_on:
|
|
- namecoind
|
|
networks:
|
|
default:
|
|
ipv4_address: $APP_NAMECOIN_WEB_IP
|
|
|
|
tor:
|
|
image: ghcr.io/getumbrel/tor:0.4.9.11@sha256:e382b8629c0dfef6ceb396b062622d4e4e955b19d6f16b883fd2c0723ad5671a
|
|
user: "1000:1000"
|
|
restart: on-failure
|
|
volumes:
|
|
- ${APP_DATA_DIR}/torrc:/etc/tor/torrc:ro
|
|
- ${TOR_DATA_DIR}:/data
|
|
environment:
|
|
HOME: "/tmp"
|
|
networks:
|
|
default:
|
|
ipv4_address: "${APP_NAMECOIN_TOR_PROXY_IP}"
|
|
|
|
i2pd_daemon:
|
|
image: purplei2p/i2pd:release-2.61.0@sha256:422f6715f635d1af0a6ae4937447471477deb6e6719bf5935029be674e4f4cdd
|
|
user: "root"
|
|
command: --sam.enabled=true --sam.address=0.0.0.0 --sam.port=7656 --loglevel=error
|
|
restart: on-failure
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/i2pd:/home/i2pd/data
|
|
networks:
|
|
default:
|
|
ipv4_address: "${APP_NAMECOIN_I2P_DAEMON_IP}"
|