feat: custom theme loading

This commit is contained in:
decentral1se
2021-10-21 12:55:39 +02:00
parent b037067a2e
commit 3b9d0237b2
4 changed files with 29 additions and 0 deletions

View File

@ -11,6 +11,8 @@ services:
- admin_password
- db_password
environment:
- CUSTOM_THEME_ENABLED
- CUSTOM_THEME_URL
- DB_ADDR=db
- DB_DATABASE=keycloak
- DB_PASSWORD_FILE=/run/secrets/db_password
@ -19,6 +21,11 @@ services:
- KEYCLOAK_PASSWORD_FILE=/run/secrets/admin_password
- KEYCLOAK_USER=${ADMIN_USERNAME}
- PROXY_ADDRESS_FORWARDING=true
configs:
- source: entrypoint_conf
target: /docker-entrypoint.sh
mode: 0555
entrypoint: /docker-entrypoint.sh
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8080"]
interval: 30s
@ -75,3 +82,9 @@ secrets:
volumes:
mariadb:
configs:
entrypoint_conf:
name: ${STACK_NAME}_entrypoint_conf_${ENTRYPOINT_CONF_VERSION}
file: entrypoint.sh.tmpl
template_driver: golang