run-seedbox.sh will fail if during pulling docker images if experiencing network related issues. Added retry feature to allow the images to try again after failing.
Description:
This update introduces install.sh, a robust installation script designed to streamline the setup of the Seedbox. The script automates the installation of essential dependencies and guides the user through a series of interactive prompts to collect necessary configuration details.
Key Features:
Automated Dependency Installation: install.sh takes care of installing all the required dependencies such as Docker, Docker Compose, and yq, ensuring a smooth setup process.
Interactive User Prompts: The script interactively gathers essential configuration details from the user, including domain, email, timezone, and credentials, making the setup tailored and user-friendly.
Environment Configuration: Based on the user’s input, the script dynamically generates the .env file, automating the environment configuration process.
User and Directory Management: The script adds the current user to the Docker group, advises re-login for changes to take effect, and manages the creation of necessary directories.
Script Execution: As part of the setup, install.sh seamlessly executes additional scripts (init.sh and run-seedbox.sh) from the project.
Validation and Error Handling: Incorporates validation for user inputs, provides options for viewing valid timezones, and includes error handling with descriptive messages for troubleshooting.