IAM Front Deployment Guide
1. Prerequisites
- Docker & Docker Compose installed
iam-servicerunning (and accessible from this host).envfile configured (copied from.env.example)
2. Configuration (.env)
Ensure .env exists in iam-front/ root.
Critical Variables:
IAM_SERVICE_BASE_URL: URL to access iam-service.- Docker Note: Do NOT use
localhostor127.0.0.1. Use the host IP (e.g.http://192.168.1.100:3000).
- Docker Note: Do NOT use
CAPTCHA_SECRET: Secure random string for cookie signing.PORT: Optional, defaults to 6020.
3. Deploy
cd deploy/docker
bash start.sh
This will:
- Validate
.envconfiguration (checks for localhost issues). - Build the Docker image.
- Start the container with ports mapped (default 6020).
4. Stop
cd deploy/docker
bash stop.sh
5. Notes
- This deployment only includes the
iam-frontservice. - It assumes
iam-serviceis deployed separately. - No database or Redis is required for the frontend.