Update README.md

This commit is contained in:
Thomas E Lackey 2023-08-17 22:36:36 +00:00
parent 16c4090c31
commit 32b2ed2df2

View File

@ -8,9 +8,7 @@ Simple API for self-registration of Keycloak accounts that use API keys.
```
$ yarn install
$ export CERC_KCUSERREG_API_URL=http://keycloak:8080/auth
$ export CERC_KCUSERREG_REG_PW=MySecretKeycloakApiPassword
$ yarn dev
$ CERC_KCUSERREG_API_URL=http://my.keycloak.url:8080/auth yarn dev
```
### Docker
@ -18,7 +16,6 @@ $ yarn dev
```
$ 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 \
-e CERC_KCUSERREG_API_URL=http://my.keycloak.url:8080/auth \
-p 9292 cerc/keycloak-reg-api:local
```