keycloak-reg-api/README.md

21 lines
396 B
Markdown
Raw Normal View History

2023-08-17 22:33:59 +00:00
# keycloak-reg-api
2023-08-15 04:22:02 +00:00
2023-08-17 22:33:59 +00:00
Simple API for self-registration of Keycloak accounts that use API keys.
## Building
### Local
```
$ yarn install
2023-08-17 22:36:36 +00:00
$ CERC_KCUSERREG_API_URL=http://my.keycloak.url:8080/auth yarn dev
2023-08-17 22:33:59 +00:00
```
### Docker
```
$ docker build -t cerc/keycloak-reg-api:local .
$ docker run \
2023-08-17 22:36:36 +00:00
-e CERC_KCUSERREG_API_URL=http://my.keycloak.url:8080/auth \
2023-08-17 22:33:59 +00:00
-p 9292 cerc/keycloak-reg-api:local
```