This commit is contained in:
Luna 2023-10-18 23:21:06 -03:00
parent 5f36935814
commit b3b451ce96
3 changed files with 7 additions and 3 deletions

View File

@ -8,6 +8,9 @@ PROXY_PART:https://pipedproxy-cdg.kavin.rocks
# Outgoing proxy to be used by reqwest4j - eg: socks5://127.0.0.1:1080
#REQWEST_PROXY: socks5://127.0.0.1:1080
{% if env_dict.piped_proxy %}
REQWEST_PROXY: socks5://{{ env_dict.piped_proxy }}
{% endif %}
# Captcha Parameters
CAPTCHA_BASE_URL:https://api.capmonster.cloud/
@ -39,13 +42,13 @@ RYD_PROXY_URL:https://ryd-proxy.kavin.rocks
SPONSORBLOCK_SERVERS:https://sponsor.ajay.app,https://sponsorblock.kavin.rocks
# Disable the usage of RYD
DISABLE_RYD:false
DISABLE_RYD:true
# Disable API server (node just runs timers if enabled)
DISABLE_SERVER:false
# Disable the inclusion of LBRY streams
DISABLE_LBRY:false
DISABLE_LBRY:true
# How long should unauthenticated subscriptions last for
SUBSCRIPTIONS_EXPIRY:30

View File

@ -8,6 +8,7 @@ After=network-online.target postgresql.service
[Service]
Type=simple
Restart=on-failure
ExecStart=/usr/bin/java -server -Xmx1G -XX:+UnlockExperimentalVMOptions -XX:+HeapDumpOnOutOfMemoryError -XX:+OptimizeStringConcat -XX:+UseStringDeduplication -XX:+UseCompressedOops -XX:+UseNUMA -XX:+UseG1GC -jar {{ env_dict.remote_main_home_path }}/piped-1.0-all.jar
WorkingDirectory={{ env_dict.remote_main_home_path }}
User={{ env_dict.user }}

View File

@ -35,7 +35,7 @@ def install_lxc_container():
lxc_shell(ct_name, "env")
@deploy("install piped backend")
@deploy("install piped backend", data_defaults={"piped_proxy": None})
def install():
install_postgresql()
dnf.packages(