Skip to content

Commit

Permalink
Java 21
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Deandrea <[email protected]>
  • Loading branch information
edeandrea committed Nov 2, 2023
1 parent b89ef39 commit 3683f75
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
28 changes: 28 additions & 0 deletions grpc-locations/src/main/docker-compose/java21.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@

grpc-locations-java21:
image: quay.io/quarkus-super-heroes/grpc-locations:java21-latest
container_name: grpc-locations-java21
depends_on:
- locations-db
ports:
- "8089:8089"
environment:
QUARKUS_DATASOURCE_JDBC_URL: jdbc:mariadb://locations-db:3306/locations_database
QUARKUS_HIBERNATE_ORM_DATABASE_GENERATION: validate
QUARKUS_DATASOURCE_USERNAME: locations
QUARKUS_DATASOURCE_PASSWORD: locations
QUARKUS_HIBERNATE_ORM_SQL_LOAD_SCRIPT: no-file
QUARKUS_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT: http://otel-collector:4317
restart: on-failure
networks:
default:
aliases:
- grpc-locations
deploy:
resources:
limits:
memory: 1G
cpus: '1'
reservations:
memory: 256M
cpus: '0.5'
8 changes: 8 additions & 0 deletions grpc-locations/src/main/kubernetes/openshift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ spec:
importPolicy: { }
referencePolicy:
type: Source
- name: java21-latest
annotations: null
from:
kind: DockerImage
name: 'quay.io/quarkus-super-heroes/grpc-locations:java21-latest'
importPolicy: { }
referencePolicy:
type: Source
- name: native-latest
annotations: null
from:
Expand Down

0 comments on commit 3683f75

Please sign in to comment.