chore: Initial import of FLEX training material
This commit is contained in:
parent
c01246d4f7
commit
12235acc42
1020 changed files with 53940 additions and 0 deletions
|
|
@ -0,0 +1,8 @@
|
|||
FROM amazoncorretto:21.0.1-alpine3.18
|
||||
|
||||
WORKDIR /app
|
||||
COPY ../../target/flexinale-modulith-2-components-2024.3.0-spring-boot-fat-jar.jar /app
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["java", "-jar", "flexinale-modulith-2-components-2024.3.0-spring-boot-fat-jar.jar"]
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
docker-compose \
|
||||
--project-name flexinale-modulith-2-components \
|
||||
-f ../../../infrastructure/docker/flexinale-network.yml \
|
||||
-f ../../../infrastructure/docker/postgres/flexinale-postgres.yml \
|
||||
-f flexinale-modulith-2-components.yml \
|
||||
up
|
||||
|
|
@ -0,0 +1 @@
|
|||
docker build -t de.accso/flexinale-modulith-2-components:2024.3.0 -f Dockerfile ../../
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
version: '2.2'
|
||||
|
||||
services:
|
||||
|
||||
flexinale-modulith-2-components:
|
||||
image: de.accso/flexinale-modulith-2-components:2024.3.0
|
||||
depends_on:
|
||||
- flexinale-postgres
|
||||
ports:
|
||||
- "8080:8080"
|
||||
networks:
|
||||
- flexinale-network
|
||||
command: sh -c "java -Dspring.datasource.url=jdbc:postgresql://flexinale-postgres:5432/modulith-2 -jar flexinale-modulith-2-components-2024.3.0-spring-boot-fat-jar.jar"
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
FROM amazoncorretto:21.0.1-alpine3.18
|
||||
|
||||
WORKDIR /app
|
||||
COPY ../../target/flexinale-modulith-2-components-2024.3.0-spring-boot-fat-jar.jar /app
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["java", "-jar", "flexinale-modulith-2-components-2024.3.0-spring-boot-fat-jar.jar"]
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
version: '2.2'
|
||||
|
||||
services:
|
||||
|
||||
flexinale-modulith-2-components:
|
||||
image: de.accso/flexinale-modulith-2-components:2024.3.0
|
||||
depends_on:
|
||||
- flexinale-postgres
|
||||
ports:
|
||||
- "8080:8080"
|
||||
networks:
|
||||
- flexinale-network
|
||||
command: sh -c "java -Dspring.datasource.url=jdbc:postgresql://flexinale-postgres:5432/modulith-2 -jar flexinale-modulith-2-components-2024.3.0-spring-boot-fat-jar.jar"
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
podman-compose ^
|
||||
--project-name flexinale-modulith-2-components ^
|
||||
-f ..\..\..\infrastructure\podman\flexinale-network.yml ^
|
||||
-f ..\..\..\infrastructure\podman\postgres\flexinale-postgres.yml ^
|
||||
-f flexinale-modulith-2-components.yml ^
|
||||
up
|
||||
|
|
@ -0,0 +1 @@
|
|||
podman build -t de.accso/flexinale-modulith-2-components:2024.3.0 -f Dockerfile ../../
|
||||
Loading…
Add table
Add a link
Reference in a new issue