Skip to content

Commit

Permalink
docs: update to match new env (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
hazimoarafa authored Feb 3, 2025
1 parent d2c7603 commit f225624
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,17 +122,16 @@ pre-commit install
Copy `ui/.env.sample` as `ui/.env.local` and configure with:

```bash
AUTH_URL='http://localhost:3000'
NEXTAUTH_URL='http://localhost:3000'
AUTH_URL='http://localhost:3000'
AUTH_SECRET='<any secret here>'

AUTH_KEYCLOAK_CLIENT_ID='user-tasks-client'
AUTH_KEYCLOAK_ID='user-tasks-client'
AUTH_KEYCLOAK_SECRET=' '
AUTH_KEYCLOAK_ISSUER='http://localhost:8888/realms/default'

LHUT_API_URL='http://localhost:8089'

AUTHORITIES='$.realm_access.roles,$.resource_access.*.roles'
LHUT_AUTHORITIES='$.realm_access.roles,$.resource_access.*.roles'
```

1. Install dependencies and start development server:
Expand Down Expand Up @@ -184,10 +183,10 @@ This script will:
docker run --rm \
-e SSL=enabled \
-v ./local-dev/ssl:/ssl \
-e AUTH_URL='https://localhost:3443' \
-e NEXTAUTH_URL='https://localhost:3443' \
-e AUTH_URL='https://localhost:3443' \
-e AUTH_SECRET='your-secret-here' \
-e AUTH_KEYCLOAK_CLIENT_ID='user-tasks-client' \
-e AUTH_KEYCLOAK_ID='user-tasks-client' \
-e AUTH_KEYCLOAK_SECRET=' ' \
-e AUTH_KEYCLOAK_ISSUER='http://localhost:8888/realms/default' \
-e LHUT_API_URL='http://localhost:8089' \
Expand Down
6 changes: 4 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f225624

Please sign in to comment.