21 lines
396 B
Markdown
21 lines
396 B
Markdown
# keycloak-reg-api
|
|
|
|
Simple API for self-registration of Keycloak accounts that use API keys.
|
|
|
|
## Building
|
|
|
|
### Local
|
|
|
|
```
|
|
$ yarn install
|
|
$ CERC_KCUSERREG_API_URL=http://my.keycloak.url:8080/auth yarn dev
|
|
```
|
|
|
|
### Docker
|
|
|
|
```
|
|
$ docker build -t cerc/keycloak-reg-api:local .
|
|
$ docker run \
|
|
-e CERC_KCUSERREG_API_URL=http://my.keycloak.url:8080/auth \
|
|
-p 9292 cerc/keycloak-reg-api:local
|
|
``` |