Compare commits
13 Commits
6.0.0+21.0
...
10.0.1+26.
Author | SHA1 | Date | |
---|---|---|---|
9050321e50 | |||
d63bb8bc54 | |||
6053df415e | |||
ab009bae84 | |||
b02db66093 | |||
a4ce30cc5c | |||
e7360c2a16 | |||
5b83f487ec | |||
3d42a26b9e | |||
6aac16ebd6 | |||
a5aae68446 | |||
82f6ad5d52 | |||
04b584ab4f |
@ -8,6 +8,11 @@ LETS_ENCRYPT_ENV=production
|
||||
ADMIN_USERNAME=admin
|
||||
WELCOME_THEME=keycloak
|
||||
|
||||
COMPOSE_FILE="compose.yml"
|
||||
|
||||
SECRET_DB_ROOT_PASSWORD_VERSION=v1
|
||||
SECRET_DB_PASSWORD_VERSION=v1
|
||||
SECRET_ADMIN_PASSWORD_VERSION=v1
|
||||
|
||||
# Enable persistent theme volume, if you want to apply a custom theme
|
||||
#COMPOSE_FILE="$COMPOSE_FILE:compose.theme.yml"
|
||||
|
10
compose.theme.yml
Normal file
10
compose.theme.yml
Normal file
@ -0,0 +1,10 @@
|
||||
---
|
||||
version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
volumes:
|
||||
- "themes:/opt/keycloak/themes"
|
||||
|
||||
volumes:
|
||||
themes:
|
12
compose.yml
12
compose.yml
@ -3,7 +3,7 @@ version: "3.8"
|
||||
|
||||
services:
|
||||
app:
|
||||
image: "keycloak/keycloak:21.0.2"
|
||||
image: "keycloak/keycloak:26.0.1"
|
||||
entrypoint: >
|
||||
bash -c "KEYCLOAK_ADMIN_PASSWORD=\"$$(cat /run/secrets/admin_password)\" KC_DB_PASSWORD=\"$$(cat /run/secrets/db_password)\" /opt/keycloak/bin/kc.sh start"
|
||||
networks:
|
||||
@ -16,7 +16,7 @@ services:
|
||||
- KC_DB=mariadb
|
||||
- KC_DB_URL_DATABASE=keycloak
|
||||
- KC_DB_URL_HOST=db
|
||||
- KC_HOSTNAME=${DOMAIN}
|
||||
- KC_HOSTNAME=https://${DOMAIN}
|
||||
- KC_PROXY=edge
|
||||
- KC_SPI_CONNECTIONS_JPA_LEGACY_MIGRATION_STRATEGY=update
|
||||
- KEYCLOAK_ADMIN=${ADMIN_USERNAME}
|
||||
@ -30,7 +30,7 @@ services:
|
||||
# retries: 10
|
||||
# start_period: 1m
|
||||
volumes:
|
||||
- "themes:/opt/keycloak/themes"
|
||||
- "providers:/opt/keycloak/providers"
|
||||
depends_on:
|
||||
- mariadb
|
||||
deploy:
|
||||
@ -46,10 +46,10 @@ services:
|
||||
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLForceHost=true"
|
||||
- "traefik.http.middlewares.${STACK_NAME}-redirect.headers.SSLHost=${DOMAIN}"
|
||||
- "coop-cloud.${STACK_NAME}.version=6.0.0+21.0.2"
|
||||
- "coop-cloud.${STACK_NAME}.version=10.0.1+26.0.1"
|
||||
|
||||
db:
|
||||
image: "mariadb:10.11"
|
||||
image: "mariadb:11.5"
|
||||
environment:
|
||||
- MYSQL_DATABASE=keycloak
|
||||
- MYSQL_USER=keycloak
|
||||
@ -90,4 +90,4 @@ secrets:
|
||||
|
||||
volumes:
|
||||
mariadb:
|
||||
themes:
|
||||
providers:
|
||||
|
5
release/7.2.0+22.0.5
Normal file
5
release/7.2.0+22.0.5
Normal file
@ -0,0 +1,5 @@
|
||||
A persistent volume for themes is now optional, and not enabled by default.
|
||||
|
||||
If you are using a custom theme, consult the recipe `.env.sample` to see the new
|
||||
variables you need to add. You can use `abra app check ...` to verify that
|
||||
they've been added correctly.
|
Reference in New Issue
Block a user