-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to configure datasource #182
Comments
Hi Saminda, sorry for the slow response, it's the holiday season. Can you
please provide your config file's content? I think, there's stuff missing
from it.
…On Sat, Dec 31, 2022 at 11:30 PM Saminda Peramuna ***@***.***> wrote:
I am working with version 1.7.0 and set up both Postgres and Rabbit as
specified on the readme file. I am getting the following error and as no
other documentation is available can someone point me in the right
direction.
Description: notifier-api_1 | notifier-api_1 | Failed to configure a
DataSource: no embedded datasource could be configured. notifier-api_1 |
notifier-api_1 | Reason: Failed to determine a suitable driver class
—
Reply to this email directly, view it on GitHub
<#182>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACTPGQBWX6X32RZPI5H2IDWQEXCTANCNFSM6AAAAAATN6UE4I>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
version: '3.5'
services:
notifier-api:
image: 'sflpro/notifier-api:1.7.0'
ports:
- '9000:9000'
depends_on:
- notifier-worker
environment:
- 'SPRING_DATASOURCE_URL=jdbc:postgres://localhost:5432/notifier'
- SPRING_DATASOURCE_USERNAME=postgres
- SPRING_DATASOURCE_PASSWORD=postgres
- SPRING_FLYWAY_ENABLED=true
- SPRING_RABBITMQ_HOST=localhost
- SPRING_RABBITMQ_USERNAME=admin
- SPRING_RABBITMQ_PASSWORD=password
- NOTIFIER_QUEUE_ENGINE=rabbit
notifier-worker:
image: 'sflpro/notifier-worker:1.7.0'
restart: on-failure
environment:
- 'SPRING_DATASOURCE_URL=jdbc:postgres://localhost:5432/notifier'
- SPRING_DATASOURCE_USERNAME=postgres
- SPRING_DATASOURCE_PASSWORD=postgres
- SPRING_FLYWAY_ENABLED=true
- SPRING_RABBITMQ_HOST=localhost
- SPRING_RABBITMQ_USERNAME=admin
- SPRING_RABBITMQ_PASSWORD=password
- NOTIFIER_QUEUE_ENGINE=rabbit This is my compose YML |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am working with version 1.7.0 and set up both Postgres and Rabbit as specified on the readme file. I am getting the following error and as no other documentation is available can someone point me in the right direction.
The text was updated successfully, but these errors were encountered: