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

Create CODE_OF_CONDUCT.md #229

Merged
merged 1 commit into from
Apr 20, 2022
Merged

Create CODE_OF_CONDUCT.md #229

merged 1 commit into from
Apr 20, 2022

Conversation

carlosthe19916
Copy link
Member

No description provided.

@carlosthe19916 carlosthe19916 merged commit 5b802e5 into master Apr 20, 2022
@project-openubl-preview-bot
Copy link
Contributor

🚀 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/project-openubl/searchpe/searchpe:add-code-of-conduct-1
docker pull ghcr.io/project-openubl/searchpe/searchpe-enterprise:add-code-of-conduct-1
  • 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.1
    ports:
      - 5432:5432
    environment:
      POSTGRES_DB: searchpe_db
      POSTGRES_USER: db_username
      POSTGRES_PASSWORD: db_password
    healthcheck:
      test: [ "CMD-SHELL", "pg_isready -U db_username -d searchpe_db" ]
      interval: 10s
      timeout: 5s
      retries: 5

  searchpe:
    image: quay.io/projectopenubl/searchpe:early-access
    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/searchpe_db
    healthcheck:
      test: [ "CMD", "curl", "-f", "http://localhost:8080/q/health" ]
      interval: 10s
      timeout: 5s
      retries: 5
    depends_on:
      postgresql:
        condition: service_healthy
Docker compose - enterprise
version: "3"
services:
  postgresql:
    image: postgres:13.1
    environment:
      POSTGRES_DB: searchpe_db
      POSTGRES_USER: db_username
      POSTGRES_PASSWORD: db_password
    network_mode: "host"
    healthcheck:
      test: [ "CMD-SHELL", "pg_isready -U db_username -d searchpe_db" ]
      interval: 10s
      timeout: 5s
      retries: 5

  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch:7.10.2
    environment:
      discovery.type: single-node
    network_mode: "host"
    healthcheck:
      test: [ "CMD", "curl", "-f", "http://localhost:9200" ]
      interval: 10s
      timeout: 5s
      retries: 5

  keycloak:
    image: quay.io/keycloak/keycloak:15.0.2
    environment:
      KEYCLOAK_USER: admin
      KEYCLOAK_PASSWORD: admin
      KEYCLOAK_IMPORT: /tmp/openubl-realm.json
      DB_VENDOR: h2
    volumes:
      - ./src/main/resources/openubl-realm.json:/tmp/openubl-realm.json:z
    command:
      - "-Djboss.bind.address.private=127.0.0.1"
      - "-Djboss.bind.address=0.0.0.0"
    network_mode: "host"
    healthcheck:
      test: [ "CMD", "curl", "-f", "http://localhost:8080/auth" ]
      interval: 10s
      timeout: 5s
      retries: 5

  searchpe:
    image: quay.io/projectopenubl/searchpe-enterprise:early-access
    environment:
      QUARKUS_HTTP_PORT: 8180
      QUARKUS_DATASOURCE_USERNAME: db_username
      QUARKUS_DATASOURCE_PASSWORD: db_password
      QUARKUS_DATASOURCE_JDBC_URL: jdbc:postgresql://localhost:5432/searchpe_db
      QUARKUS_OIDC_ENABLED: "true"
      QUARKUS_OIDC_AUTH_SERVER_URL: http://localhost:8080/auth/realms/openubl
      QUARKUS_OIDC_CLIENT_ID: searchpe
      QUARKUS_OIDC_CREDENTIALS_SECRET: secret
      QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_USERNAME: any
      QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_PASSWORD: any
      QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_PROTOCOL: HTTP
      QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_HOSTS: localhost:9200
      QUARKUS_HIBERNATE_SEARCH_ORM_ELASTICSEARCH_VERSION: 7
    healthcheck:
      test: [ "CMD", "curl", "-f", "http://localhost:8080/q/health" ]
      interval: 10s
      timeout: 5s
      retries: 5
    network_mode: "host"
    depends_on:
      postgresql:
        condition: service_healthy
      elasticsearch:
        condition: service_healthy
      keycloak:
        condition: service_healthy

@carlosthe19916 carlosthe19916 deleted the add-code-of-conduct-1 branch April 27, 2023 18:02
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