Skip to content

Commit

Permalink
compose yaml updated:
Browse files Browse the repository at this point in the history
  • Loading branch information
akhileshsharma99 committed Nov 2, 2024
1 parent 6e74df1 commit 23febd2
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 6 deletions.
14 changes: 8 additions & 6 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ services:
postgres:
image: postgres:latest
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: password
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: chunkmydocs
ports:
- "5432:5432"
Expand Down Expand Up @@ -52,6 +52,8 @@ services:
environment:
- KEYCLOAK_ADMIN=admin
- KEYCLOAK_ADMIN_PASSWORD=admin
volumes:
- ./realm-export.json:/opt/keycloak/data/import/realm-export.json
command: ["start-dev", "--import-realm"]
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080/realms/master"]
Expand Down Expand Up @@ -148,7 +150,7 @@ services:
reservations:
devices:
- driver: nvidia
count: 1
count: all
capabilities: [gpu]
volumes:
- /dev/shm:/dev/shm
Expand All @@ -165,7 +167,7 @@ services:
reservations:
devices:
- driver: nvidia
count: 1
count: all
capabilities: [gpu]
volumes:
- /dev/shm:/dev/shm
Expand All @@ -183,13 +185,13 @@ services:
reservations:
devices:
- driver: nvidia
count: 1
count: all
capabilities: [gpu]
volumes:
- /dev/shm:/dev/shm

rrq:
image: luminainc/rrq:9326b10
image: luminainc/rrq:33cd165
ports:
- "8005:8000"
env_file:
Expand Down
71 changes: 71 additions & 0 deletions realm-export.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"clientId": "chunkr",
"name": "",
"description": "",
"rootUrl": "",
"adminUrl": "",
"baseUrl": "",
"surrogateAuthRequired": false,
"enabled": true,
"alwaysDisplayInConsole": false,
"clientAuthenticatorType": "client-secret",
"redirectUris": [
"http://localhost:5173/*",
"https://www.chunkr.ai/*",
"https://chunkr.ai/*"
],
"webOrigins": [
"https://chunkr.ai",
"https://www.chunkr.ai",
"http://localhost:5173"
],
"notBefore": 0,
"bearerOnly": false,
"consentRequired": false,
"standardFlowEnabled": true,
"implicitFlowEnabled": false,
"directAccessGrantsEnabled": false,
"serviceAccountsEnabled": false,
"publicClient": true,
"frontchannelLogout": true,
"protocol": "openid-connect",
"attributes": {
"client.introspection.response.allow.jwt.claim.enabled": "false",
"post.logout.redirect.uris": "http://localhost:5173/*##https://chunkr.ai/*##https://www.chunkr.ai/*",
"oauth2.device.authorization.grant.enabled": "false",
"backchannel.logout.revoke.offline.tokens": "false",
"use.refresh.tokens": "true",
"oidc.ciba.grant.enabled": "false",
"client.use.lightweight.access.token.enabled": "false",
"backchannel.logout.session.required": "true",
"client_credentials.use_refresh_token": "false",
"tls.client.certificate.bound.access.tokens": "false",
"require.pushed.authorization.requests": "false",
"acr.loa.map": "{}",
"display.on.consent.screen": "false",
"pkce.code.challenge.method": "S256",
"token.response.type.bearer.lower-case": "false"
},
"authenticationFlowBindingOverrides": {},
"fullScopeAllowed": true,
"nodeReRegistrationTimeout": -1,
"defaultClientScopes": [
"web-origins",
"acr",
"roles",
"profile",
"basic",
"email"
],
"optionalClientScopes": [
"address",
"phone",
"offline_access",
"microprofile-jwt"
],
"access": {
"view": true,
"configure": true,
"manage": true
}
}

0 comments on commit 23febd2

Please sign in to comment.