keycloakify 11.3.6 → 11.3.7-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +25 -3
- package/bin/526.index.js +6 -4
- package/package.json +1 -1
- package/src/bin/start-keycloak/start-keycloak.ts +8 -4
package/README.md
CHANGED
@@ -50,7 +50,7 @@ Keycloakify is fully compatible with Keycloak from version 11 to 26...[and beyon
|
|
50
50
|
|
51
51
|
## Sponsors
|
52
52
|
|
53
|
-
|
53
|
+
Project backers, we trust and recommend their services.
|
54
54
|
|
55
55
|
<br/>
|
56
56
|
|
@@ -62,7 +62,29 @@ Friends for the project, we trust and recommend their services.
|
|
62
62
|
|
63
63
|
<div align="center">
|
64
64
|
|
65
|
-

|
66
|
+
|
67
|
+
</div>
|
68
|
+
|
69
|
+
<br/>
|
70
|
+
|
71
|
+
<p align="center">
|
72
|
+
<i><a href="https://phasetwo.io/"><strong>Keycloak on Steroids as a Service</strong></a> - Keycloak community contributors of popular <a href="https://github.com/p2-inc#our-extensions-">extensions</a> providing free and dedicated <a href="https://phasetwo.io/hosting/">Keycloak hosting</a> and enterprise <a href="https://phasetwo.io/support/">Keycloak support</a> to businesses of all sizes.</i>
|
73
|
+
</p>
|
74
|
+
|
75
|
+
<br/>
|
76
|
+
<br/>
|
77
|
+
<br/>
|
78
|
+
|
79
|
+
<div align="center">
|
80
|
+
|
81
|
+
|
82
|
+
|
83
|
+
</div>
|
84
|
+
|
85
|
+
<div align="center">
|
86
|
+
|
87
|
+

|
66
88
|
|
67
89
|
</div>
|
68
90
|
|
@@ -87,7 +109,7 @@ Friends for the project, we trust and recommend their services.
|
|
87
109
|
</div>
|
88
110
|
|
89
111
|
<p align="center">
|
90
|
-
<a href="https://cloud-iam.com/?mtm_campaign=keycloakify-deal&mtm_source=keycloakify-github"><strong>Managed Keycloak Provider</strong> - With Cloud-IAM powering your Keycloak clusters, you can sleep easy knowing you've got the software and the experts you need for operational excellence.
|
112
|
+
<a href="https://cloud-iam.com/?mtm_campaign=keycloakify-deal&mtm_source=keycloakify-github"><strong>Managed Keycloak Provider</strong> - With Cloud-IAM powering your Keycloak clusters, you can sleep easy knowing you've got the software and the experts you need for operational excellence. Cloud IAM is a french company. </a>
|
91
113
|
<br/>
|
92
114
|
Use code <code>keycloakify5</code> at checkout for a 5% discount.
|
93
115
|
</p>
|
package/bin/526.index.js
CHANGED
@@ -442,10 +442,10 @@ async function command(params) {
|
|
442
442
|
...(realmJsonFilePath === undefined
|
443
443
|
? []
|
444
444
|
: [
|
445
|
-
`-v${SPACE_PLACEHOLDER}"
|
445
|
+
`-v${SPACE_PLACEHOLDER}"${realmJsonFilePath}":/opt/keycloak/data/import/myrealm-realm.json`
|
446
446
|
]),
|
447
|
-
`-v${SPACE_PLACEHOLDER}"
|
448
|
-
...extensionJarFilePaths.map(jarFilePath => `-v${SPACE_PLACEHOLDER}"
|
447
|
+
`-v${SPACE_PLACEHOLDER}"${jarFilePath_cacheDir}":/opt/keycloak/providers/keycloak-theme.jar`,
|
448
|
+
...extensionJarFilePaths.map(jarFilePath => `-v${SPACE_PLACEHOLDER}"${jarFilePath}":/opt/keycloak/providers/${(0,external_path_.basename)(jarFilePath)}`),
|
449
449
|
...(keycloakMajorVersionNumber <= 20
|
450
450
|
? [`-e${SPACE_PLACEHOLDER}JAVA_OPTS=-Dkeycloak.profile=preview`]
|
451
451
|
: []),
|
@@ -459,7 +459,7 @@ async function command(params) {
|
|
459
459
|
localDirPath: (0,external_path_.join)(buildContext.keycloakifyBuildDirPath, "theme", themeName),
|
460
460
|
containerDirPath: `/opt/keycloak/themes/${themeName}`
|
461
461
|
}))
|
462
|
-
.map(({ localDirPath, containerDirPath }) => `-v${SPACE_PLACEHOLDER}"
|
462
|
+
.map(({ localDirPath, containerDirPath }) => `-v${SPACE_PLACEHOLDER}"${localDirPath}":${containerDirPath}:rw`),
|
463
463
|
...buildContext.environmentVariables
|
464
464
|
.map(({ name }) => ({ name, envValue: process.env[name] }))
|
465
465
|
.map(({ name, envValue }) => envValue === undefined ? undefined : { name, envValue })
|
@@ -477,6 +477,8 @@ async function command(params) {
|
|
477
477
|
buildContext.startKeycloakOptions.keycloakExtraArgs.join(SPACE_PLACEHOLDER)
|
478
478
|
])
|
479
479
|
];
|
480
|
+
console.log("DEBUG issue #694");
|
481
|
+
console.log(JSON.stringify(dockerRunArgs, null, 2));
|
480
482
|
console.log(source_default().blue([
|
481
483
|
`$ docker run \\`,
|
482
484
|
...dockerRunArgs
|
package/package.json
CHANGED
@@ -396,12 +396,12 @@ export async function command(params: {
|
|
396
396
|
...(realmJsonFilePath === undefined
|
397
397
|
? []
|
398
398
|
: [
|
399
|
-
`-v${SPACE_PLACEHOLDER}"
|
399
|
+
`-v${SPACE_PLACEHOLDER}"${realmJsonFilePath}":/opt/keycloak/data/import/myrealm-realm.json`
|
400
400
|
]),
|
401
|
-
`-v${SPACE_PLACEHOLDER}"
|
401
|
+
`-v${SPACE_PLACEHOLDER}"${jarFilePath_cacheDir}":/opt/keycloak/providers/keycloak-theme.jar`,
|
402
402
|
...extensionJarFilePaths.map(
|
403
403
|
jarFilePath =>
|
404
|
-
`-v${SPACE_PLACEHOLDER}"
|
404
|
+
`-v${SPACE_PLACEHOLDER}"${jarFilePath}":/opt/keycloak/providers/${pathBasename(jarFilePath)}`
|
405
405
|
),
|
406
406
|
...(keycloakMajorVersionNumber <= 20
|
407
407
|
? [`-e${SPACE_PLACEHOLDER}JAVA_OPTS=-Dkeycloak.profile=preview`]
|
@@ -424,7 +424,7 @@ export async function command(params: {
|
|
424
424
|
}))
|
425
425
|
.map(
|
426
426
|
({ localDirPath, containerDirPath }) =>
|
427
|
-
`-v${SPACE_PLACEHOLDER}"
|
427
|
+
`-v${SPACE_PLACEHOLDER}"${localDirPath}":${containerDirPath}:rw`
|
428
428
|
),
|
429
429
|
...buildContext.environmentVariables
|
430
430
|
.map(({ name }) => ({ name, envValue: process.env[name] }))
|
@@ -451,6 +451,10 @@ export async function command(params: {
|
|
451
451
|
])
|
452
452
|
];
|
453
453
|
|
454
|
+
console.log("DEBUG issue #694");
|
455
|
+
|
456
|
+
console.log(JSON.stringify(dockerRunArgs, null, 2));
|
457
|
+
|
454
458
|
console.log(
|
455
459
|
chalk.blue(
|
456
460
|
[
|