add pipeline 9
Some checks failed
Build-und-Deploy / build-and-deploy (push) Failing after 1s

This commit is contained in:
Nils Burghardt
2025-07-13 15:52:09 +02:00
parent bdd97cab49
commit 067c233e1c
4 changed files with 9 additions and 48 deletions

View File

@@ -18,15 +18,18 @@ services:
- traefik
app:
build: .
image: mytimetracker-app
image: eclipse-temurin:17-jdk-alpine
container_name: mytimetracker-app
depends_on:
- db
ports:
- "8400:8080" # 8400 auf dem Host, 8080 im Container
- "8400:8080"
environment:
SPRING_PROFILES_ACTIVE: docker
volumes:
- ./build/libs/MyTimeTracker-0.0.1-SNAPSHOT.jar:/app/app.jar
working_dir: /app
command: ["java", "-jar", "app.jar"]
labels:
- "traefik.enable=true"
- "traefik.http.routers.mytimetracker.rule=Host(`timetracker.nilzbu.de`)"