Browse Source
Add usocial app (#1247 )
Co-authored-by: Luke Childs <lukechilds123@gmail.com>
fix-usocial
Ioan Bizău
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with
66 additions and
1 deletions
apps/registry.json
apps/usocial/data/.gitkeep
apps/usocial/docker-compose.yml
scripts/configure
templates/.env-sample
templates/torrc-server-sample
@ -872,5 +872,29 @@
"defaultUsername" : "umbrel" ,
"deterministicPassword" : true ,
"torOnly" : false
} ,
{
"id" : "usocial" ,
"category" : "Social" ,
"name" : "usocial" ,
"version" : "0.1.2" ,
"tagline" : "Read. Listen. Pay back." ,
"description" : "The podcast client and feed reader for your personal server. With Lightning Network support.\n\n- Simple interface (minimalist HN-like design)\n- Optionally multi-user\n- Decentralized karma\n- Clean code (Python / Flask / SQLite)\n- Search podcasts from Podcast Index\n- Support for the Podcasting 2.0 value tag, sending Bitcoin payments to podcast creators over the Lightning Network" ,
"developer" : "Ioan Bizău" ,
"website" : "http://usocial.me" ,
"dependencies" : [
"lnd"
] ,
"repo" : "https://github.com/ibz/usocial" ,
"support" : "https://github.com/ibz/usocial/issues" ,
"port" : 8448 ,
"gallery" : [
"1.jpg" ,
"2.jpg" ,
"3.jpg"
] ,
"path" : "" ,
"deterministicPassword" : true ,
"torOnly" : false
}
]
@ -0,0 +1,31 @@
version : "3.7"
services:
web:
image : ghcr.io/ibz/usocial:v0.1.2-buster@sha256:78680fb45e8ebe468a5651d0f3f6b9b37f8e8c6682da4460b69e4d6f4547a807
restart : on -failure
stop_grace_period : 1m
ports:
- ${APP_USOCIAL_PORT}:5000
volumes:
- ${LND_DATA_DIR}:/lnd:ro
- ${APP_DATA_DIR}/data:/instance
environment:
USOCIAL_JOB : "WEB"
APP_PASSWORD : "${APP_PASSWORD}"
LND_IP : "${LND_IP}"
LND_GRPC_PORT : ${LND_GRPC_PORT}
LND_DIR : "/lnd"
fetcher:
depends_on:
- web
image : ghcr.io/ibz/usocial:v0.1.2-buster@sha256:78680fb45e8ebe468a5651d0f3f6b9b37f8e8c6682da4460b69e4d6f4547a807
restart : on -failure
stop_grace_period : 1m
volumes:
- ${APP_DATA_DIR}/data:/instance
environment:
USOCIAL_JOB : "FETCH_FEEDS"
networks:
default:
ipv4_address : $APP_USOCIAL_IP
@ -239,6 +239,8 @@ APP_LNDG_PORT="8889"
APP_URBIT_IP="10.21.21.76"
APP_URBIT_PORT="8090"
APP_URBIT_P2P_PORT="34343"
APP_USOCIAL_IP="10.21.21.77"
APP_USOCIAL_PORT="8448"
# Generate RPC credentials
if [[ -z ${BITCOIN_RPC_USER+x} ]] || [[ -z ${BITCOIN_RPC_PASS+x} ]] || [[ -z ${BITCOIN_RPC_AUTH+x} ]]; then
@ -478,6 +480,8 @@ for template in "${NGINX_CONF_FILE}" "${BITCOIN_CONF_FILE}" "${LND_CONF_FILE}" "
sed -i "s/<app-urbit-ip>/${APP_URBIT_IP}/g" "${template}"
sed -i "s/<app-urbit-port>/${APP_URBIT_PORT}/g" "${template}"
sed -i "s/<app-urbit-p2p-port>/${APP_URBIT_P2P_PORT}/g" "${template}"
sed -i "s/<app-usocial-ip>/${APP_USOCIAL_IP}/g" "${template}"
sed -i "s/<app-usocial-port>/${APP_USOCIAL_PORT}/g" "${template}"
done
##########################################################
@ -136,4 +136,6 @@ APP_LNDG_IP=<app-lndg-ip>
APP_LNDG_PORT=<app-lndg-port>
APP_URBIT_IP=<app-urbit-ip>
APP_URBIT_PORT=<app-urbit-port>
APP_URBIT_P2P_PORT=<app-urbit-p2p-port>
APP_URBIT_P2P_PORT=<app-urbit-p2p-port>
APP_USOCIAL_IP=<app-usocial-ip>
APP_USOCIAL_PORT=<app-usocial-port>
@ -201,3 +201,7 @@ HiddenServicePort 80 <app-lndg-ip>:<app-lndg-port>
# urbit Hidden Service
HiddenServiceDir /data/app-urbit
HiddenServicePort 80 <app-urbit-ip>:<app-urbit-port>
# usocial Hidden Service
HiddenServiceDir /data/app-usocial
HiddenServicePort 80 <app-usocial-ip>:5000