Commit 44e44caf authored by Markus Scheidgen's avatar Markus Scheidgen
Browse files

Changed default keycloak config to prod. #531

parent afccfbfa
......@@ -137,6 +137,15 @@ via your preferred tools. Just make sure to use the right ports.
## Running NOMAD
Before you run NOMAD for development purposes, you should configure it to use the `test`
realm of our user management system. By default, NOMAD will use the `prod` realm.
Create a `nomad.yaml` file in the root folder:
```
keycloak:
realm: fairdi_nomad_test
```
NOMAD consist of the NOMAD app/api, a worker, and the GUI. You can run app and worker with
the NOMAD cli. These commands will run the services and show their logout put. You should open
them in separate shells as they run continuously. They will not watch code changes and
......
......@@ -126,9 +126,9 @@ elastic = NomadConfig(
keycloak = NomadConfig(
server_url='https://nomad-lab.eu/fairdi/keycloak/auth/',
realm_name='fairdi_nomad_test',
realm_name='fairdi_nomad_prod',
username='admin',
password='password',
password='*',
client_id='nomad_public',
client_secret=None,
oasis=False)
......
......@@ -324,6 +324,9 @@ class KeycloakMock:
return g.oidc_access_token
config.keycloak.realm_name = 'fairdi_nomad_test'
config.keycloak.password = 'password'
_keycloak = infrastructure.keycloak
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment