Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete operator functionality #235

Merged
merged 4 commits into from
Dec 22, 2022

Conversation

carlosthe19916
Copy link
Member

Signed-off-by: carlosthe19916 2582866+carlosthe19916@users.noreply.github.com

Signed-off-by: carlosthe19916 <2582866+carlosthe19916@users.noreply.github.com>
# Conflicts:
#	application/src/main/resources/application.properties
@project-openubl-preview-bot
Copy link
Contributor

project-openubl-preview-bot commented Dec 21, 2022

🚀 Container image Preview ✨

The creation of the container image might take aproximately 10 minutes. Once it is available you can pull it using:

docker pull ghcr.io/carlosthe19916/ublhub/ublhub:operatorChanges
  • To watch the current status of the container image creation visit Workflow runs
  • To see the list of packages created by the boot visit Packages

Docker compose
version: "3"
services:
  postgresql:
    image: postgres:13.7
    ports:
      - 5432:5432
    environment:
      POSTGRES_DB: ublhub_db
      POSTGRES_USER: db_username
      POSTGRES_PASSWORD: db_password
    healthcheck:
      test: [ "CMD-SHELL", "pg_isready -U db_username -d ublhub_db" ]
      interval: 10s
      timeout: 5s
      retries: 5

  ublhub:
    image: quay.io/projectopenubl/ublhub:nightly
    ports:
      - 8180:8080
    environment:
      QUARKUS_HTTP_PORT: 8080
      QUARKUS_DATASOURCE_USERNAME: db_username
      QUARKUS_DATASOURCE_PASSWORD: db_password
      QUARKUS_DATASOURCE_JDBC_URL: jdbc:postgresql://postgresql:5432/ublhub_db
    healthcheck:
      test: [ "CMD", "curl", "-f", "http://localhost:8080/q/health" ]
      interval: 10s
      timeout: 5s
      retries: 5
    depends_on:
      postgresql:
        condition: service_healthy

Signed-off-by: carlosthe19916 <2582866+carlosthe19916@users.noreply.github.com>
Signed-off-by: carlosthe19916 <2582866+carlosthe19916@users.noreply.github.com>
@carlosthe19916 carlosthe19916 merged commit 6151d9a into project-openubl:master Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants