The service is published to GitHub Container Registry:
docker run -d \
-p 8080:8080 \
-e JDBC_URL=jdbc:postgresql://postgres:5432/automation \
-e JDBC_USER=postgres \
-e JDBC_PASSWORD=your_password \
ghcr.io/opendonationassistant/oda-automation-service:latest| Variable | Description | Default |
|---|---|---|
JDBC_URL |
PostgreSQL JDBC connection URL | jdbc:postgresql://localhost/postgres?currentSchema=automation |
JDBC_USER |
Database username | postgres |
JDBC_PASSWORD |
Database password | postgres |
Example docker-compose.yml:
services:
app:
image: ghcr.io/opendonationassistant/oda-automation-service:latest
ports:
- "8080:8080"
environment:
- JDBC_URL=jdbc:postgresql://postgres:5432/automation
- JDBC_USER=postgres
- JDBC_PASSWORD=your_password
depends_on:
- postgres
postgres:
image: postgres:16
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=your_password
- POSTGRES_DB=automation
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
postgres_data: