Class DockerComposeYamlFile
java.lang.Object
org.keycloak.protocol.docker.installation.compose.DockerComposeYamlFile
Representation of the docker-compose.yaml file
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DockerComposeYamlFile
public DockerComposeYamlFile(String registryDataDirName, String localCertDirName, String containerCertPath, String localhostCrtFileName, String localhostKeyFileName, String authServerTrustChainFileName, URL authServerUrl, String realmName, String serviceId) - Parameters:
registryDataDirName- Directory name to be used for both the container's storage directory, as well as the local data directory namelocalCertDirName- Name of the (relative) local directory that holds the certscontainerCertPath- Path at which the local certs directory should be mounted on the containerlocalhostCrtFileName- SSL Cert file name for the registrylocalhostKeyFileName- SSL Key file name for the registryauthServerTrustChainFileName- IDP trust chain, used for auth token validationauthServerUrl- Root URL for Keycloak, commonly something like http://localhost:8080/auth for dev environmentsrealmName- Name of the realm for which the docker client is configuredserviceId- Docker's Service ID, corresponds to Keycloak's client ID
-
-
Method Details
-
generateDockerComposeFileBytes
public byte[] generateDockerComposeFileBytes()
-