{"id":25575573,"url":"https://github.com/pringgojs/docker-compose-keycloak","last_synced_at":"2026-01-27T02:02:16.353Z","repository":{"id":277298468,"uuid":"927516575","full_name":"pringgojs/docker-compose-keycloak","owner":"pringgojs","description":null,"archived":false,"fork":false,"pushed_at":"2025-10-01T06:31:48.000Z","size":3595,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-01T08:34:29.772Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"FreeMarker","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pringgojs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-02-05T04:47:58.000Z","updated_at":"2025-09-18T02:02:16.000Z","dependencies_parsed_at":"2025-07-12T15:18:22.039Z","dependency_job_id":"ca84c2e6-d376-43a1-a7c5-481dc575762c","html_url":"https://github.com/pringgojs/docker-compose-keycloak","commit_stats":null,"previous_names":["pringgojs/docker-compose-keycloak"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/pringgojs/docker-compose-keycloak","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pringgojs%2Fdocker-compose-keycloak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pringgojs%2Fdocker-compose-keycloak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pringgojs%2Fdocker-compose-keycloak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pringgojs%2Fdocker-compose-keycloak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pringgojs","download_url":"https://codeload.github.com/pringgojs/docker-compose-keycloak/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pringgojs%2Fdocker-compose-keycloak/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28796962,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T01:07:07.743Z","status":"online","status_checked_at":"2026-01-27T02:00:07.755Z","response_time":168,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-21T02:38:04.338Z","updated_at":"2026-01-27T02:02:16.348Z","avatar_url":"https://github.com/pringgojs.png","language":"FreeMarker","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Keycloak Custom Theme \u0026 Authenticator\n\n## Prasyarat\n\n- Node.js \u0026 npm (https://nodejs.org/)\n- Docker \u0026 Docker Compose\n\n## Instalasi \u0026 Build Tailwind CSS\n\n1. **Clone repository ini**\n\n2. **Masuk ke folder project**\n\n3. **Inisialisasi npm (jika belum ada `package.json`)**\n\n   ```powershell\n   npm init -y\n   ```\n\n4. **Install Tailwind CSS**\n\n   ```powershell\n   npm install -D tailwindcss\n   ```\n\n5. **Build CSS Tailwind**\n   Jalankan perintah berikut di PowerShell dari `/keycloak` project:\n   ```powershell\n   npx tailwindcss -i ./themes/asn/login/resources/css/input.css -o ./themes/asn/login/resources/css/tailwind.css --minify\n   ```\n   File hasil build akan berada di `keycloak/themes/anomic/resources/css/tailwind.css`.\n\n## Menjalankan Keycloak dengan Docker\n\n1. **Build Docker image**\n\n   ```powershell\n   docker compose build\n   ```\n\n2. **Jalankan container**\n   ```powershell\n   docker compose up\n   ```\n\n## Struktur Penting\n\n- `keycloak/themes/modern/` : Folder custom theme\n- `keycloak/simashebat-authenticator-1.0.1.jar` : Custom authenticator\n- `keycloak/themes/modern/resources/css/input.css` : Sumber utama Tailwind\n- `keycloak/themes/modern/resources/css/tailwind.css` : Hasil build Tailwind\n\n---\n\nJika ada error saat build Tailwind, pastikan Node.js dan npm sudah terinstall dan jalankan `npm install` sebelum build.\n\n## Panduan Instalasi Theme Modern di Keycloak\n\n1. Pastikan proses build Docker sudah selesai dan container Keycloak sudah berjalan.\n2. Theme custom akan otomatis ter-copy ke dalam image Keycloak melalui Dockerfile:\n   - Lokasi di dalam container: `/opt/keycloak/themes/modern`\n3. Untuk menggunakan theme ini:\n   - Login ke Keycloak Admin Console.\n   - Masuk ke menu **Realm Settings** \u003e **Themes**.\n   - Pada bagian **Login Theme**, pilih `modern`.\n   - Klik **Save**.\n4. Logout dan akses halaman login Keycloak, tampilan akan menggunakan theme modern custom.\n\nJika theme tidak muncul di daftar, pastikan build Docker sudah sukses dan tidak ada error pada struktur folder theme.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpringgojs%2Fdocker-compose-keycloak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpringgojs%2Fdocker-compose-keycloak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpringgojs%2Fdocker-compose-keycloak/lists"}