
docker run -d \
--name oda-actions-service \
-p 8080:8080 \
-e JDBC_URL=jdbc:postgresql://postgres-host:5432/actions \
-e JDBC_USER=postgres \
-e JDBC_PASSWORD=your-password \
ghcr.io/opendonationassistant/actions-service:latest
services:
oda-actions-service:
image: ghcr.io/opendonationassistant/actions-service:latest
ports:
- "8080:8080"
environment:
- JDBC_URL=jdbc:postgresql://postgres:5432/actions
- JDBC_USER=postgres
- JDBC_PASSWORD=postgres
depends_on:
- postgres
postgres:
image: postgres:17
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=actions
volumes:
- postgres_data:/var/lib/postgresql/data
volumes:
postgres_data:
| Variable |
Description |
Default |
JDBC_URL |
PostgreSQL JDBC connection URL |
jdbc:postgresql://localhost/postgres?currentSchema=actions |
JDBC_USER |
Database username |
postgres |
JDBC_PASSWORD |
Database password |
postgres |
mvn clean package
docker build -t oda-actions-service .