# EXP Environment Variables

This is a sanitized snapshot of the current env shape.

## Public contract

```dotenv
ENV_NAME=exp
ENV_ROOT=/home/ec2-user/nexuscrm-deployment/offline/envs/exp
DOWNSTREAM_REF=main
UPSTREAM_REF=main
OFFICIAL_APP_PACKS_REF=main
BACKEND_PORT=3103
PUBLIC_BASE_URL=https://nexuscrm-new-exp.pingcap.com
SERVER_NAME=nexuscrm-new-exp.pingcap.com
INSTALL_NGINX=0
TIDB_HOST=127.0.0.1
TIDB_PORT=4000
TIDB_DATABASE=nexuscrm_sandbox_exp
TIDB_TLS=false
RESET_DB=1
RESET_TIDB_BRANCH=0
FILE_STORAGE_PROVIDER=filesystem
```

## Secret-bearing keys not recorded here

1. `TIDB_USER`
2. `JWT_SECRET`
3. `NEXUS_ADMIN_PASSWORD`
4. `GH_TOKEN`
5. `GOOGLE_CLIENT_ID`
6. `GOOGLE_CLIENT_SECRET`

## Operational warning

1. If the source deploy is correct but browsers still serve stale frontend assets, invalidate CloudFront `/*`.
