# The top level settings are used as module
# and system configuration.
# A set of users which may be applied and/or used by various modules
# when a 'default' entry is found it will reference the 'default_user'
# from the distro configuration specified below
users:
- default
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coolify | |
* [.tinkerwell/](.\coolify\.tinkerwell) | |
* [snippets/](.\coolify\.tinkerwell\snippets) | |
* [DeleteUser.php](.\coolify\.tinkerwell\snippets\DeleteUser.php) | |
* [SendEmail.php](.\coolify\.tinkerwell\snippets\SendEmail.php) | |
* [app/](.\coolify\app) | |
* [Actions/](.\coolify\app\Actions) | |
* [Application/](.\coolify\app\Actions\Application) | |
* [StopApplication.php](.\coolify\app\Actions\Application\StopApplication.php) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check for curl and wget | |
if ! command -v curl &> /dev/null; then | |
echo "curl could not be found, please install curl." | |
exit 1 | |
fi | |
if ! command -v wget &> /dev/null; then | |
echo "wget could not be found, please install wget." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Ensure the script is run as root | |
if [ "$(id -u)" != "0" ]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
fi | |
# Update the package index | |
echo "Updating package index..." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Update and Upgrade the System | |
echo "Updating and upgrading your system..." | |
sudo apt-get update && sudo apt-get upgrade -y | |
# Install required packages | |
echo "Installing packages required for Docker installation..." | |
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common lsb-release gnupg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Ask the user for their Cloudflare API key, email, and zone | |
read -p "Enter your Cloudflare API key: " API_KEY | |
read -p "Enter your Cloudflare email: " EMAIL | |
read -p "Enter your Cloudflare zone: " ZONE | |
# Get the IP addresses | |
IPV4=$(curl -s -X GET -4 https://ifconfig.co) | |
IPV6=$(curl -s -X GET -6 https://ifconfig.co) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Check if we are running inside a screen session | |
if [ -z "$STY" ]; then | |
# Check if screen is installed | |
if ! command -v screen &> /dev/null; then | |
echo "Screen is not installed. Would you like to install it now? (y/n)" | |
read -r install_screen | |
if [[ $install_screen == "y" ]]; then | |
# Install screen (Debian/Ubuntu example) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install Docker | |
echo -e "\n\nInstalling Docker..." | |
sh <(curl -sSL https://get.docker.com) | |
if [ $? -eq 0 ]; then | |
echo -e "\033[0;32mDocker installation succeeded.\033[0m" | |
else | |
echo -e "\033[0;31mDocker installation failed.\033[0m" | |
exit 1 |
The configs below are all seperated. Pick what you need, theres a sample script at the bottom.
- Set Timezone and Locale: Configure the system's timezone and locale to match your geographic location and preferred language settings.
timezone: "Etc/UTC"