Files
stack/scripts/setup.sh
Jason Woltje 38f22f0b4e
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
fix(scripts): Improve base URL configuration display clarity
When detecting existing configuration, the setup script now shows a
detailed breakdown instead of just "Current base URL: ...":

  Mode:    Traefik reverse proxy

  Web URL: https://app.mosaicstack.dev
  API URL: https://api.mosaicstack.dev
  Auth:    https://auth.mosaicstack.dev

This makes it clear:
- What access mode is configured (localhost/IP/domain/Traefik)
- What each URL is used for (Web UI, API, Authentication)
- Whether to change the configuration

Added helper functions:
- detect_access_mode(): Determines mode from existing .env values
- display_access_config(): Formats the URL breakdown display

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-01 00:57:23 -06:00

65 KiB
Executable File