Aktualizovat zezidock.py
This commit is contained in:
+11
-22
@@ -63,30 +63,19 @@ def main():
|
||||
|
||||
uinput = input("Do you want to install some containers? [Y/N]: ")
|
||||
if uinput.lower() == "y":
|
||||
print("Caddy is an open-source web server that automatically manages HTTPS with Let's Encrypt and makes it easy to configure sites using simple, human-friendly syntax.")
|
||||
uinput = input("Do you want to install Caddy? [Y/N]: ")
|
||||
if uinput.lower() == "y":
|
||||
service_install('caddy')
|
||||
services = {
|
||||
'caddy': "Caddy is an open-source web server that automatically manages HTTPS with Let's Encrypt and makes it easy to configure sites using simple, human-friendly syntax.",
|
||||
'dockhand': "Dockhand is a self-hosted web app to manage local and remote Docker containers and stacks, featuring real-time logs, terminal access, and automation.",
|
||||
'gitea': "Gitea is an open-source self-hosted Git service for hosting repositories, managing issues and pull requests, and providing web-based collaboration.",
|
||||
'nextcloud': "Nextcloud is an open-source self-hosted platform for syncing and sharing files with collaboration tools like calendars, contacts, and document editing.",
|
||||
'ytzero': "YT Zero - own rules, own algorithm, no login required. Every video from every channel you follow, and nothing else."
|
||||
}
|
||||
|
||||
print("Dockhand is a self-hosted Docker management web app that lets you control containers and Compose stacks across local and remote hosts with features like real-time logs, terminal access, and automation.")
|
||||
uinput = input("Do you want to install Dockhand? [Y/N]: ")
|
||||
for service, description in services.items():
|
||||
print(description)
|
||||
uinput = input(f"Do you want to install {service}? [Y/N]: ")
|
||||
if uinput.lower() == "y":
|
||||
service_install('dockhand')
|
||||
|
||||
print("Gitea is an open-source self-hosted Git service for hosting repositories, managing issues and pull requests, and providing web-based collaboration.")
|
||||
uinput = input("Do you want to install Gitea? [Y/N]: ")
|
||||
if uinput.lower() == "y":
|
||||
service_install('gitea')
|
||||
|
||||
print("Nextcloud is an open-source self-hosted platform for syncing and sharing files with collaboration tools like calendars, contacts, and document editing.")
|
||||
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')
|
||||
service_install(service)
|
||||
|
||||
else:
|
||||
sys.exit()
|
||||
|
||||
Reference in New Issue
Block a user