Skip to content

Commit

Permalink
[BUGFIX] Fixed pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisBurger committed Mar 7, 2024
1 parent e59a00b commit 6992c65
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ WORKDIR /app
COPY . .
RUN mkdir ./src/main/resources/META-INF.resources
COPY --from=webBuild ./web/out ./src/main/resources/META-INF.resources
RUN ./gradlew build -Dquarkus.package.type=uber-jar
RUN ./gradlew build -Dquarkus.package.type=uber-jar -Dquarkus.profile=docker

FROM openjdk:21
WORKDIR /app
Expand Down
12 changes: 12 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: '3'

services:
postgres:
image: postgres
environment:
POSTGRES_PASSWORD: mysecretpassword
POSTGRES_DB: immowealth
server:
depends_on:
- postgres
image: ghcr.io/mathisburger/immowealth:latest
6 changes: 6 additions & 0 deletions src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ quarkus:
dialect: org.hibernate.dialect.PostgreSQLDialect
database:
generation: update

"%docker":
quarkus:
datasource:
jdbc:
url: jdbc:postgresql://postgres:5432/immowealth

0 comments on commit 6992c65

Please sign in to comment.