From b134ef3aee75c242db61716e88ea51aa16ae37f5 Mon Sep 17 00:00:00 2001 From: Leendert de Borst Date: Fri, 27 Jun 2025 10:25:07 +0200 Subject: [PATCH] Update port example (#963) --- .env.example | 6 +++--- install.sh | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.env.example b/.env.example index 02b7cd2d5..d17325be8 100644 --- a/.env.example +++ b/.env.example @@ -14,9 +14,9 @@ # Docker containers to apply the changes. # ---------------------------------------------------------------------------- -# Set the ports that your AliasVault will be accessible at. -# These are the default ports that will be used by the `reverse-proxy` and `smtp` containers. -# You can change these to any other ports that are available on your system. +# Configure the network ports used by AliasVault by the `reverse-proxy` and `smtp` containers. +# You can change these if the defaults are in use on your system. +# After making changes, re-run the install script to apply them. HTTP_PORT=80 HTTPS_PORT=443 SMTP_PORT=25 diff --git a/install.sh b/install.sh index 59eb64726..75e4119fa 100755 --- a/install.sh +++ b/install.sh @@ -71,6 +71,7 @@ show_usage() { printf " --verbose Show detailed output\n" printf " -y, --yes Automatic yes to prompts\n" printf " --dev Target development database for db import/export operations" + printf "\n" } # Function to print the logo @@ -544,7 +545,7 @@ check_port_availability() { if [ "$http_https_in_use" = true ]; then printf " ${YELLOW}•${NC} Try stopping the existing local webserver (e.g. nginx, apache, httpd etc.)\n" - printf " ${YELLOW}•${NC} Change the default AliasVault ports (80, 443) in the .env file\n" + printf " ${YELLOW}•${NC} Change the default AliasVault ports (80, 443) by editing the .env file\n" fi printf "\nIf this still doesn't work, try finding out which services are running on the specified ports and read documentation for your distribution on how to disable them.\n"