Update README.md
This commit is contained in:
parent
16c4090c31
commit
32b2ed2df2
@ -8,9 +8,7 @@ Simple API for self-registration of Keycloak accounts that use API keys.
|
|||||||
|
|
||||||
```
|
```
|
||||||
$ yarn install
|
$ yarn install
|
||||||
$ export CERC_KCUSERREG_API_URL=http://keycloak:8080/auth
|
$ CERC_KCUSERREG_API_URL=http://my.keycloak.url:8080/auth yarn dev
|
||||||
$ export CERC_KCUSERREG_REG_PW=MySecretKeycloakApiPassword
|
|
||||||
$ yarn dev
|
|
||||||
```
|
```
|
||||||
|
|
||||||
### Docker
|
### Docker
|
||||||
@ -18,7 +16,6 @@ $ yarn dev
|
|||||||
```
|
```
|
||||||
$ docker build -t cerc/keycloak-reg-api:local .
|
$ docker build -t cerc/keycloak-reg-api:local .
|
||||||
$ docker run \
|
$ docker run \
|
||||||
-e CERC_KCUSERREG_API_URL=http://keycloak:8080/auth \
|
-e CERC_KCUSERREG_API_URL=http://my.keycloak.url:8080/auth \
|
||||||
-e CERC_KCUSERREG_REG_PW=MySecretKeycloakApiPassword \
|
|
||||||
-p 9292 cerc/keycloak-reg-api:local
|
-p 9292 cerc/keycloak-reg-api:local
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user