The service is published to GitHub Container Registry.
| Variable | Description | Default |
|---|---|---|
TWITCH_CLIENT_ID |
Twitch API client ID | (required) |
TWITCH_CLIENT_SECRET |
Twitch API client secret | (required) |
JDBC_URL |
PostgreSQL connection URL | jdbc:postgresql://localhost/postgres?currentSchema=automation |
JDBC_USER |
PostgreSQL username | postgres |
JDBC_PASSWORD |
PostgreSQL password | postgres |
RABBITMQ_HOST |
RabbitMQ host | localhost |
docker run -d \
--name oda-twitch-service \
-p 8080:8080 \
-e TWITCH_CLIENT_ID=your_client_id \
-e TWITCH_CLIENT_SECRET=your_client_secret \
-e JDBC_URL=jdbc:postgresql://postgres:5432/automation \
-e JDBC_USER=postgres \
-e JDBC_PASSWORD=your_password \
-e RABBITMQ_HOST=rabbitmq \
ghcr.io/opendonationassistant/oda-twitch-service:latestservices:
oda-twitch-service:
image: ghcr.io/opendonationassistant/oda-twitch-service:latest
ports:
- "8080:8080"
environment:
- TWITCH_CLIENT_ID=your_client_id
- TWITCH_CLIENT_SECRET=your_client_secret
- JDBC_URL=jdbc:postgresql://postgres:5432/automation
- JDBC_USER=postgres
- JDBC_PASSWORD=your_password
- RABBITMQ_HOST=rabbitmq
depends_on:
- postgres
- rabbitmq
postgres:
image: postgres:16
environment:
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=your_password
- POSTGRES_DB=automation
volumes:
- postgres_data:/var/lib/postgresql/data
rabbitmq:
image: rabbitmq:3-management
ports:
- "15672:15672"
volumes:
postgres_data: