From e72a58e3e18efacf79beaeeacbb3bd9b425682e5 Mon Sep 17 00:00:00 2001 From: Mike Heier Date: Wed, 12 Oct 2022 16:42:50 -0400 Subject: [PATCH] Add satdress --- satdress/data/.gitkeep | 0 satdress/docker-compose.yml | 26 ++++++++++++++++++++++++++ satdress/exports.sh | 9 +++++++++ satdress/torrc.template | 3 +++ satdress/umbrel-app.yml | 24 ++++++++++++++++++++++++ 5 files changed, 62 insertions(+) create mode 100644 satdress/data/.gitkeep create mode 100644 satdress/docker-compose.yml create mode 100644 satdress/exports.sh create mode 100644 satdress/torrc.template create mode 100644 satdress/umbrel-app.yml diff --git a/satdress/data/.gitkeep b/satdress/data/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/satdress/docker-compose.yml b/satdress/docker-compose.yml new file mode 100644 index 0000000..2700138 --- /dev/null +++ b/satdress/docker-compose.yml @@ -0,0 +1,26 @@ +version: "3.7" + +services: + app_proxy: + environment: + APP_HOST: $APP_SATDRESS_IP + APP_PORT: $APP_SATDRESS_PORT + PROXY_AUTH_ADD: "false" + + server: + image: docker.heier.io/abstractequilibrium/satdress@sha256:e2891364114f92197c8e3a3a2d9a7dc138bbb8184f20756afb916ff4178aaa5a + user: "1000:1000" + restart: on-failure + volumes: + - ${APP_DATA_DIR}/data/satdress/:/satdress.com + environment: + PORT: "${APP_SATDRESS_PORT}" + DOMAIN: "${APP_SATDRESS_DOMAIN}" + SECRET: "${APP_SATDRESS_SECRET}" + SITE_OWNER_URL: "${APP_SATDRESS_OWNER_URL}" + SITE_OWNER_NAME: "${APP_SATDRESS_OWNER_NAME}" + SITE_NAME: "${APP_SATDRESS_SITE_NAME}" + networks: + default: + ipv4_address: $APP_SATDRESS_IP + diff --git a/satdress/exports.sh b/satdress/exports.sh new file mode 100644 index 0000000..7befc9c --- /dev/null +++ b/satdress/exports.sh @@ -0,0 +1,9 @@ +export APP_SATDRESS_PORT="17422" +# export APP_GITEA_SSH_PORT="2222" +export APP_SATDRESS_IP="10.21.21.210" +# export APP_GITEA_DB_IP="10.21.21.40" +export APP_SATDRESS_DOMAIN="heier.io" +export APP_SATDRESS_SECRET="uZ2ai7fEycCy4Ho8RHHt2S2JeeJLiQ" +export APP_SATDRESS_OWNER_URL="https://twitter.com/" +export APP_SATDRESS_OWNER_NAME="MJEX.me" +export APP_SATDRESS_SITE_NAME="Lightning Address Forwarder!" \ No newline at end of file diff --git a/satdress/torrc.template b/satdress/torrc.template new file mode 100644 index 0000000..f6750a4 --- /dev/null +++ b/satdress/torrc.template @@ -0,0 +1,3 @@ +# satdress Hidden Service +HiddenServiceDir /data/app-satdress +HiddenServicePort 80 $APP_SATDRESS_IP:$APP_SATDRESS_PORT \ No newline at end of file diff --git a/satdress/umbrel-app.yml b/satdress/umbrel-app.yml new file mode 100644 index 0000000..c766f3b --- /dev/null +++ b/satdress/umbrel-app.yml @@ -0,0 +1,24 @@ +manifestVersion: 1 +id: satdress +category: Lightning +name: Satdress +version: "1.0.0" +tagline: Receive Lightning BTC payments with an email address! +description: >- + This tool is a Federated Lightning Address Server - Originally written by @fiatjaf +developer: "@AbstractEqual" +website: https://twitter.com/AbstractEqual +dependencies: [] +repo: https://github.com/fiatjaf/satdress +support: https://github.com/fiatjaf/satdress +port: 38080 +gallery: + - 1.jpg + - 2.jpg + - 3.jpg +path: "" +defaultUsername: "" +defaultPassword: "" +torOnly: false +submitter: Umbrel +submission: https://github.com/getumbrel/umbrel/commit/d62e00353917143a3a10d3b376859f51b665d150 \ No newline at end of file