Skip to content

OpenDonationAssistant/oda-history-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

149 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ODA History Service

Ask DeepWiki Sonar Tech Debt Sonar Violations Sonar Tests Sonar Coverage

Running with Docker

The service is published to GitHub Container Registry: ghcr.io/opendonationassistant/oda-history-service

Required Environment Variables

Variable Description Default
RABBITMQ_HOST RabbitMQ host localhost
JDBC_URL PostgreSQL JDBC URL jdbc:postgresql://localhost/postgres?currentSchema=history
JDBC_USER PostgreSQL username postgres
JDBC_PASSWORD PostgreSQL password postgres

Example Docker Run

docker run -d \
  --name oda-history-service \
  -p 8080:8080 \
  -e RABBITMQ_HOST=rabbitmq \
  -e JDBC_URL=jdbc:postgresql://postgres:5432/history?currentSchema=history \
  -e JDBC_USER=postgres \
  -e JDBC_PASSWORD=postgres \
  ghcr.io/opendonationassistant/oda-history-service:latest

With Docker Compose

services:
  history-service:
    image: ghcr.io/opendonationassistant/oda-history-service:latest
    ports:
      - "8080:8080"
    environment:
      - RABBITMQ_HOST=rabbitmq
      - JDBC_URL=jdbc:postgresql://postgres:5432/history?currentSchema=history
      - JDBC_USER=postgres
      - JDBC_PASSWORD=postgres
    depends_on:
      - postgres
      - rabbitmq

  postgres:
    image: postgres:16
    environment:
      - POSTGRES_DB=history
    volumes:
      - postgres_data:/var/lib/postgresql/data

  rabbitmq:
    image: rabbitmq:3-management

volumes:
  postgres_data:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors