diff --git a/portainer-automation/build.gradle b/portainer-automation/build.gradle new file mode 100644 index 0000000..bbe3892 --- /dev/null +++ b/portainer-automation/build.gradle @@ -0,0 +1,14 @@ +apply plugin: 'org.springframework.boot' + +dependencies { + implementation project(':common') + + implementation 'org.springframework.boot:spring-boot-starter-web' + implementation 'org.springframework.boot:spring-boot-starter-validation' + + compileOnly 'org.projectlombok:lombok' + annotationProcessor 'org.projectlombok:lombok' + annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor' + + testImplementation 'org.springframework.boot:spring-boot-starter-test' +} diff --git a/portainer-automation/src/main/java/com/hithomelabs/portainer/PortainerAutomationApplication.java b/portainer-automation/src/main/java/com/hithomelabs/portainer/PortainerAutomationApplication.java new file mode 100644 index 0000000..a848ca2 --- /dev/null +++ b/portainer-automation/src/main/java/com/hithomelabs/portainer/PortainerAutomationApplication.java @@ -0,0 +1,12 @@ +package com.hithomelabs.portainer; + +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; + +@SpringBootApplication +public class PortainerAutomationApplication { + + public static void main(String[] args) { + SpringApplication.run(PortainerAutomationApplication.class, args); + } +} diff --git a/portainer-automation/src/main/resources/application.properties b/portainer-automation/src/main/resources/application.properties new file mode 100644 index 0000000..4d360de --- /dev/null +++ b/portainer-automation/src/main/resources/application.properties @@ -0,0 +1 @@ +server.port=8081