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