Skip to content

Commit

Permalink
ENG-5451: Docker compose update
Browse files Browse the repository at this point in the history
  • Loading branch information
eugeniosant committed Feb 8, 2024
1 parent dbe4f4c commit 315ce83
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 16 deletions.
6 changes: 0 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ In order to run locally using Keycloak:
docker-compose up --build keycloak
```

In order to run locally using Red Hat SSO:

```
docker-compose up --build redhat-sso
```

then open the browser to show the login screen. Default port (host is localhost) and credentials are set up in the `docker-compose.yml` file.

## Troubleshooting
Expand Down
23 changes: 13 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,18 @@ services:
hostname: keycloak
ports:
- "8081:8080"
command:
- start
environment:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: qwe123
DB_VENDOR: h2
PROXY_ADDRESS_FORWARDING: "true"

KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: qwe123
KC_HTTP_RELATIVE_PATH: "/auth"
KC_HOSTNAME_STRICT: "false"
KC_PROXY: "edge"

# Other database connection parameters
#DB_ADDR: "db-host"
#DB_PORT: 3306
#DB_DATABASE: keycloak
#DB_USER: username
#DB_PASSWORD: password
#KC_DB: <DB_TYPE>
#KC_DB_URL: <URL>
#KC_DB_SCHEMA: <SCHEMA> # for postgresql
#KC_DB_USERNAME: username
#KC_DB_PASSWORD: password

0 comments on commit 315ce83

Please sign in to comment.