Aktualizovat zezidock.py
This commit is contained in:
+7
-1
@@ -45,7 +45,7 @@ def service_install(service):
|
||||
os.system(f"sudo sed -i \"s|\\[HTTP\\]|{http}|g\" {DOCKERDIR}/{service}/docker-compose.yml")
|
||||
os.system(f"sudo sed -i \"s|\\[HTTPS\\]|{https}|g\" {DOCKERDIR}/{service}/docker-compose.yml")
|
||||
|
||||
if service == 'dockhand' or service == 'gitea' or service == 'nextcloud':
|
||||
else:
|
||||
webui = input(f'[{service.upper()}] Choose port for Web UI: ')
|
||||
os.system(f"sudo sed -i \"s|\\[WEBUI\\]|{webui}|g\" {DOCKERDIR}/{service}/docker-compose.yml")
|
||||
|
||||
@@ -82,6 +82,12 @@ def main():
|
||||
uinput = input("Do you want to install Nextcloud? [Y/N]: ")
|
||||
if uinput.lower() == "y":
|
||||
service_install('nextcloud')
|
||||
|
||||
print("YT Zero - own rules, own algorithm, no login required. Every video from every channel you follow, and nothing else.")
|
||||
uinput = input("Do you want to install YT Zero? [Y/N]: ")
|
||||
if uinput.lower() == "y":
|
||||
service_install('ytzero')
|
||||
|
||||
else:
|
||||
sys.exit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user