diff --git a/.env.example b/.env.example index 0fcb95b..d6b68ce 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,5 @@ PORT=3002 -BASE_URL=https://ghl.cast.ph +BASE_URL=https://hl.cast.ph # GHL OAuth GHL_CLIENT_ID= diff --git a/CLAUDE.md b/CLAUDE.md index 9fd7c0e..a74e6f8 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -116,7 +116,7 @@ cast-ghl-provider/ | Variable | Required | Default | Description | |----------|----------|---------|-------------| | `PORT` | No | `3002` | Server listen port | -| `BASE_URL` | Yes | — | Public URL (e.g. `https://ghl.cast.ph`) | +| `BASE_URL` | Yes | — | Public URL (e.g. `https://hl.cast.ph`) | | `GHL_CLIENT_ID` | Yes | — | GHL Marketplace app client ID | | `GHL_CLIENT_SECRET` | Yes | — | GHL Marketplace app client secret | | `GHL_WEBHOOK_PUBLIC_KEY` | Yes | — | PEM-encoded ECDSA public key for webhook sig | diff --git a/GHL_API_REFERENCE.md b/GHL_API_REFERENCE.md index 685804f..dbf2596 100644 --- a/GHL_API_REFERENCE.md +++ b/GHL_API_REFERENCE.md @@ -243,7 +243,7 @@ Version: 2021-04-15 1. Type: **SMS** 2. Name: **Cast SMS** -3. Delivery URL: `https://ghl.cast.ph/api/ghl/v1/webhook/messages` +3. Delivery URL: `https://hl.cast.ph/api/ghl/v1/webhook/messages` 4. Do NOT check "Is this a Custom Conversation Provider" ### Enabling the Provider (per sub-account) diff --git a/cast-ghl-provider-plan.md b/cast-ghl-provider-plan.md index 6d228d1..744bbdd 100644 --- a/cast-ghl-provider-plan.md +++ b/cast-ghl-provider-plan.md @@ -199,7 +199,7 @@ cast-ghl-provider/ ```env # Server PORT=3002 -BASE_URL=https://ghl.cast.ph # Public URL for OAuth redirects + webhooks +BASE_URL=https://hl.cast.ph # Public URL for OAuth redirects + webhooks # GHL OAuth GHL_CLIENT_ID=xxx @@ -250,7 +250,7 @@ volumes: - **Host:** Vultr (existing Cast infrastructure) - **Reverse proxy:** Nginx or Caddy with HTTPS -- **Domain:** `ghl.cast.ph` (or similar) +- **Domain:** `hl.cast.ph` - **CI/CD:** Woodpecker CI at `git.sds.dev` --- diff --git a/deploy/deploy.sh b/deploy/deploy.sh index 73e10bc..f687289 100644 --- a/deploy/deploy.sh +++ b/deploy/deploy.sh @@ -34,4 +34,4 @@ docker compose logs --tail=20 bridge echo "" echo "=== Deploy complete ===" -echo "Health endpoint: https://ghl.cast.ph/health" +echo "Health endpoint: https://hl.cast.ph/health" diff --git a/docker-compose.yaml b/docker-compose.yaml index 636dd35..6c747a4 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -5,9 +5,9 @@ services: env_file: .env environment: # nginx-proxy / acme-companion auto-routing - - VIRTUAL_HOST=${VIRTUAL_HOST:-ghl.cast.ph} + - VIRTUAL_HOST=${VIRTUAL_HOST:-hl.cast.ph} - VIRTUAL_PORT=${PORT:-3002} - - LETSENCRYPT_HOST=${VIRTUAL_HOST:-ghl.cast.ph} + - LETSENCRYPT_HOST=${VIRTUAL_HOST:-hl.cast.ph} - LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL:-ops@cast.ph} depends_on: mongo: