BAEL-54445 reorganize docker modules

This commit is contained in:
Loredana Crusoveanu
2022-07-01 16:55:58 +03:00
parent d331a6f2b2
commit 3f8cc6a92c
42 changed files with 20 additions and 635 deletions
+1
View File
@@ -1,4 +1,5 @@
## Relevant Articles:
- [Introduction to Docker Compose](https://www.baeldung.com/ops/docker-compose)
- [How to Get Docker-Compose to Always Use the Latest Image](https://www.baeldung.com/ops/docker-compose-latest-image)
@@ -3,8 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>docker-sample-app</artifactId>
<name>docker-sample-app</name>
<artifactId>docker-compose</artifactId>
<description>Demo project for Spring Boot and Docker</description>
<parent>
@@ -0,0 +1,2 @@
### Relevant Articles:
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung.docker</groupId>
<artifactId>heap-sizing</artifactId>
<artifactId>docker-containers</artifactId>
<version>0.0.1-SNAPSHOT</version>
<name>heap-sizing</name>
<description>Demo project for Spring Boot</description>
@@ -40,7 +40,7 @@
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<image>
<name>heapsizing-demo</name>
<name>docker-demo</name>
</image>
</configuration>
</plugin>
@@ -50,7 +50,7 @@
<version>2.7.1</version>
<configuration>
<to>
<image>heapsizing-demo-jib</image>
<image>docker-demo-jib</image>
</to>
</configuration>
</plugin>
@@ -1,3 +1,4 @@
### Relevant Articles:
- [Pushing a Docker Image to a Private Repository](https://www.baeldung.com/ops/docker-push-image-to-private-repository)
- [How to Include Files Outside of Docker’s Build Context](https://www.baeldung.com/ops/docker-include-files-outside-build-context)
@@ -3,9 +3,8 @@
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>docker-push-to-private-repo</artifactId>
<name>docker-push-to-private-repo</name>
<description>Example application to showcase how to push a docker image to a private repository</description>
<artifactId>docker-images</artifactId>
<description>Example application to showcase Docker images features</description>
<parent>
<groupId>com.baeldung</groupId>
@@ -1,13 +1,13 @@
package com.baeldung.docker.push;
package com.baeldung.docker;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class PushToPrivateRepoApplication {
public class MainApplication {
public static void main(String[] args) {
SpringApplication.run(PushToPrivateRepoApplication.class, args);
SpringApplication.run(MainApplication .class, args);
}
}
@@ -1,4 +1,4 @@
package com.baeldung.docker.push;
package com.baeldung.docker.controllers;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
@@ -1,3 +0,0 @@
## Relevant Articles:
- [How to Include Files Outside of Docker’s Build Context](https://www.baeldung.com/ops/docker-include-files-outside-build-context)

Some files were not shown because too many files have changed in this diff Show More