summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/libertacasa/pubsh/web/DockerProperties.java
blob: c23cc257f29284d1caafef860009caee87cb9a0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package net.libertacasa.pubsh.web;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties("lysergic.docker")
public class DockerProperties {

	private static String endpoint;
	
    public void setEndpoint(String endpoint) {
    	DockerProperties.endpoint = endpoint;
    }
    
    public static String getEndpoint() {
        return endpoint;
    }    

}