docker pull ghcr.io/opendonationassistant/oda-config-service:latest| 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 |
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:latestCreate 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