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:
Первов Артем
2026-04-06 00:26:59 +03:00
commit af41f66bbe
12 changed files with 759 additions and 0 deletions

25
README.md Normal file
View 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.