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 $ 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
``` ```