Changes for page KeyCloak

Last modified by chrisby on 2024/03/03 14:52

From version 1.1
edited by chrisby
on 2023/10/20 19:24
Change comment: There is no comment for this version
To version 1.4
edited by chrisby
on 2023/12/22 21:35
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,4 +1,4 @@
1 -**Dockerfile**
1 +###### Dockerfile
2 2  
3 3  ```Dockerfile
4 4  FROM quay.io/keycloak/keycloak:22.0.1 as builder
... ... @@ -13,7 +13,7 @@
13 13  ENTRYPOINT ["/opt/keycloak/bin/kc.sh"]
14 14  ```
15 15  
16 -**docker-compose.yml**
16 +###### docker-compose.yml
17 17  
18 18  ```yaml
19 19  version: '3'
... ... @@ -65,7 +65,7 @@
65 65   KC_DB_PASSWORD: <enter-postgres-password>
66 66   # KC_LOG_LEVEL: DEBUG
67 67   depends_on:
68 - - postgres
68 + - keycloak-postgres
69 69   labels:
70 70   - "traefik.enable=true"
71 71   - "traefik.http.routers.keycloak.rule=Host(`<subdomain>`)"
... ... @@ -77,6 +77,8 @@
77 77   keycloak-postgres:
78 78  ```
79 79  
80 +###### Instructions
81 +
80 80  * Execute `docker-compose up -d`
81 81  * Go to `https://<subdomain>`
82 82  * Login as 'admin' with password used for `<enter-admin-password>`.