Add initial Keycloak setup with custom theme and Docker configuration
- Created .env.example for environment variable configuration. - Added .gitignore to exclude .env files. - Introduced docker-compose files for Keycloak and Postgres services. - Implemented custom Keycloak theme 'drill-luxe' with associated templates and styles. - Updated README with deployment instructions and repository details.
This commit is contained in:
25
README.md
Normal file
25
README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# Drill Keycloak
|
||||
|
||||
Этот репозиторий собирает кастомный образ Keycloak `26.0.8` с темой `drill-luxe` и разворачивает его через Portainer stack.
|
||||
|
||||
## Что внутри
|
||||
|
||||
- `docker-compose.portainer.yml` — compose для Portainer
|
||||
- `keycloak/Dockerfile` — образ Keycloak с темой
|
||||
- `keycloak/themes/drill-luxe` — кастомная login theme
|
||||
- `.env.example` — шаблон переменных
|
||||
|
||||
## Важно
|
||||
|
||||
- volume `keycloak_postgres_data` сохранен как внешний, чтобы не потерять текущую базу данных
|
||||
- после первого запуска выберите тему в Keycloak:
|
||||
- `Realm settings`
|
||||
- `Themes`
|
||||
- `Login theme = drill-luxe`
|
||||
|
||||
## Развертывание через Portainer
|
||||
|
||||
1. Подключите этот Git-репозиторий как источник stack.
|
||||
2. Укажите `docker-compose.portainer.yml`.
|
||||
3. Добавьте переменные из `.env` в environment Portainer stack или загрузите env-файл.
|
||||
4. Запустите redeploy.
|
||||
Reference in New Issue
Block a user