chore: Initial import of FLEX training material

This commit is contained in:
Alexander Kobjolke 2024-11-07 21:02:53 +01:00
parent c01246d4f7
commit 12235acc42
1020 changed files with 53940 additions and 0 deletions

View file

@ -0,0 +1,8 @@
FROM amazoncorretto:21.0.1-alpine3.18
WORKDIR /app
COPY ../../target/flexinale-monolith-2024.3.0-spring-boot-fat-jar.jar /app
EXPOSE 8080
CMD ["java", "-jar", "flexinale-monolith-2024.3.0-spring-boot-fat-jar.jar"]

View file

@ -0,0 +1,6 @@
docker-compose \
--project-name flexinale-monolith \
-f ../../../infrastructure/docker/flexinale-network.yml \
-f ../../../infrastructure/docker/postgres/flexinale-postgres.yml \
-f flexinale-monolith.yml \
up

View file

@ -0,0 +1 @@
docker build -t de.accso/flexinale-monolith:2024.3.0 -f Dockerfile ../../

View file

@ -0,0 +1,13 @@
version: '2.2'
services:
flexinale-monolith:
image: de.accso/flexinale-monolith: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/monolith -jar flexinale-monolith-2024.3.0-spring-boot-fat-jar.jar"

View file

@ -0,0 +1,8 @@
FROM amazoncorretto:21.0.1-alpine3.18
WORKDIR /app
COPY ../../target/flexinale-monolith-2024.3.0-spring-boot-fat-jar.jar /app
EXPOSE 8080
CMD ["java", "-jar", "flexinale-monolith-2024.3.0-spring-boot-fat-jar.jar"]

View file

@ -0,0 +1,13 @@
version: '2.2'
services:
flexinale-monolith:
image: de.accso/flexinale-monolith: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/monolith -jar flexinale-monolith-2024.3.0-spring-boot-fat-jar.jar"

View file

@ -0,0 +1,6 @@
podman-compose ^
--project-name flexinale-monolith ^
-f ..\..\..\infrastructure\podman\flexinale-network.yml ^
-f ..\..\..\infrastructure\podman\postgres\flexinale-postgres.yml ^
-f flexinale-monolith.yml ^
up

View file

@ -0,0 +1 @@
podman build -t de.accso/flexinale-monolith:2024.3.0 -f Dockerfile ../../