diff --git a/.env.example b/.env.example index 2180e67..9c7339f 100644 --- a/.env.example +++ b/.env.example @@ -35,7 +35,7 @@ SOCIAL_FACEBOOK= # =================================== # Deployment Configuration # =================================== -# Your custom subdomain (e.g., 'yourname' becomes yourname.recruitai.startanaicompany.com) +# Your custom subdomain (e.g., 'anna' becomes annarecruit.startanaicompany.com) SUBDOMAIN=yourname # Your Gitea username and repository name diff --git a/COOLIFY_SETUP.md b/COOLIFY_SETUP.md index c1c5c60..4c66d4a 100644 --- a/COOLIFY_SETUP.md +++ b/COOLIFY_SETUP.md @@ -126,7 +126,7 @@ chmod +x deploy-to-coolify.sh The script will: - Create a Coolify application -- Configure the domain (subdomain.recruitai.startanaicompany.com) +- Configure the domain (subdomainrecruit.startanaicompany.com) - Set up Traefik labels for HTTPS - Configure webhook for automatic deployments - Trigger initial deployment @@ -136,7 +136,7 @@ The script will: Add a CNAME record in Cloudflare (or your DNS provider): - **Type**: CNAME -- **Name**: `acme.recruitai` (or your subdomain) +- **Name**: `acmerecruit` (or your subdomain + "recruit") - **Target**: `app.coolify.io` (or your Coolify instance domain) - **Proxy**: Enabled (for Cloudflare) @@ -145,8 +145,8 @@ Wait 2-3 minutes for DNS propagation and deployment to complete. ### 6. Access Your Site Your site will be available at: -- **Public Site**: `https://acme.recruitai.startanaicompany.com` -- **Admin Panel**: `https://acme.recruitai.startanaicompany.com/admin/login` +- **Public Site**: `https://acmerecruit.startanaicompany.com` +- **Admin Panel**: `https://acmerecruit.startanaicompany.com/admin/login` On first visit to admin, create your admin account. @@ -190,7 +190,7 @@ Should show a webhook with URL: `https://app.coolify.io/api/v1/deploy?uuid=...` Check DNS configuration: ```bash -dig acme.recruitai.startanaicompany.com +dig acmerecruit.startanaicompany.com ``` Should point to your Coolify server or Cloudflare. diff --git a/README.md b/README.md index de6a1db..bf45877 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ chmod +x deploy-to-coolify.sh The script will: - Create a Coolify application -- Configure domain (yourname.recruitai.startanaicompany.com) +- Configure domain (yournamerecruit.startanaicompany.com) - Set up webhooks for automatic deployments - Generate database and session secrets - Trigger initial deployment diff --git a/deploy-to-coolify.example.sh b/deploy-to-coolify.example.sh index c8dd7f5..120a153 100755 --- a/deploy-to-coolify.example.sh +++ b/deploy-to-coolify.example.sh @@ -79,8 +79,8 @@ COOLIFY_DESTINATION_UUID="eg0g8s04soo84ock8kw4wkgo" # coolify destination # Repository URL REPO_URL="https://git.startanaicompany.com/${GITEA_USERNAME}/${GITEA_REPO_NAME}.git" -# Domain -FULL_DOMAIN="${SUBDOMAIN}.recruitai.startanaicompany.com" +# Domain (e.g., annarecruit.startanaicompany.com or johnrecruit.startanaicompany.com) +FULL_DOMAIN="${SUBDOMAIN}recruit.startanaicompany.com" echo "=========================================" echo " AI Recruitment Site Deployment"