dev #3
@@ -0,0 +1,21 @@
|
||||
package com.abnov.infisicalbridge.dokploy;
|
||||
|
||||
import lombok.Data;
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.validation.annotation.Validated;
|
||||
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
|
||||
@Data
|
||||
@Configuration
|
||||
@ConfigurationProperties(prefix = "dokploy")
|
||||
@Validated
|
||||
public class DokployProperties {
|
||||
|
||||
@NotBlank(message = "Dokploy API URL is required")
|
||||
private String apiUrl;
|
||||
|
||||
@NotBlank(message = "Dokploy API KEY is required")
|
||||
private String apiKey;
|
||||
}
|
||||
@@ -6,3 +6,7 @@ infisical:
|
||||
api-url: ${INFISICAL_API_URL}
|
||||
client-id: ${INFISICAL_CLIENT_ID}
|
||||
client-secret: ${INFISICAL_CLIENT_SECRET}
|
||||
|
||||
dokploy:
|
||||
api-url: ${DOKPLOY_API_URL}
|
||||
api-key: ${DOKPLOY_API_KEY}
|
||||
|
||||
Reference in New Issue
Block a user