Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion backend-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<version>1.0.0-SNAPSHOT</version>
<properties>
<compiler-plugin.version>3.16.0</compiler-plugin.version>
<maven.compiler.release>23</maven.compiler.release>
<maven.compiler.release>21</maven.compiler.release>
Comment thread
DerekRoberts marked this conversation as resolved.
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<quarkus.platform.artifact-id>quarkus-bom</quarkus.platform.artifact-id>
Expand Down
21 changes: 21 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,24 @@ services:
depends_on:
backend-py:
condition: service_healthy

backend-java:
profiles: ["java", "all"]
image: docker.io/library/eclipse-temurin:21-jdk
container_name: backend-java
working_dir: /project
entrypoint: ./mvnw quarkus:dev -Dquarkus.http.host=0.0.0.0
volumes:
- "./backend-java:/project"
healthcheck:
test: timeout 10s bash -c 'true > /dev/tcp/127.0.0.1/3000'
environment:
<<: *postgres-vars
QUARKUS_DATASOURCE_DEVSERVICES_ENABLED: "false"
QUARKUS_DATASOURCE_JDBC_URL: jdbc:postgresql://database:5432/postgres
QUARKUS_DATASOURCE_USERNAME: *POSTGRES_USER
QUARKUS_DATASOURCE_PASSWORD: *POSTGRES_PASSWORD
ports: ["3001:3000"]
depends_on:
database:
condition: service_healthy
Loading