Skip to content

OpenDonationAssistant/oda-config-service

Repository files navigation

ODA Config Service

Ask DeepWiki Sonar Tech Debt Sonar Violations Sonar Tests Sonar Coverage

Running with Docker

Pull the Docker Image

docker pull ghcr.io/opendonationassistant/oda-config-service:latest

Required Environment Variables

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

Running the Container

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

Using Docker Compose

Create a docker-compose.yml file:

version: '3.8'

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages