All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.playtika.testcontainer.git.GitProperties Maven / Gradle / Ivy

package com.playtika.testcontainer.git;

import com.playtika.testcontainer.common.properties.CommonContainerProperties;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@EqualsAndHashCode(callSuper = true)
@ConfigurationProperties("embedded.git")
public class GitProperties extends CommonContainerProperties {
    static final String BEAN_NAME_EMBEDDED_GIT = "embeddedGit";
    Integer port = 22;
    String pathToSshdConfig = "config/sshd_config";
    String pathToAuthorizedKeys;
    String pathToRepositories;
    String password = "embedded-git-password";

    // https://hub.docker.com/r/rockstorm/git-server
    // https://github.com/rockstorm101/git-server-docker
    @Override
    public String getDefaultDockerImage() {
        // Please don`t remove this comment.
        // renovate: datasource=docker
        return "rockstorm/git-server:2.47";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy