Skip to content
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

Update AKHQ username and password to be taken from .env #39

Open
wants to merge 3 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,7 @@ EMAIL_USERNAME=test@test.com
EMAIL_PASSWORD=testpass
EMAIL_PORT=587
RECIPIENT_EMAILS=test@gmail.com

# AKHQ
AKHQ_USER=admin
VAULT_PASS=d49745a74edfd20705ccaa277209db554b6b0d78c20780a4facf87e88aee78c0
5 changes: 3 additions & 2 deletions docker-compose-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ services:
image: tchiotludo/akhq
ports:
- "18080:8080"
env_file: .env
environment:
AKHQ_CONFIGURATION: |
akhq:
security:
basic-auth:
- username: admin
password: d49745a74edfd20705ccaa277209db554b6b0d78c20780a4facf87e88aee78c0
- username: ${AKHQ_USER}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tested this locally? The last time I tried passwords were not picked properly.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes they are being picked correctly.Checked it on local. Attaching a screenshot for refrence

image

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try running the UI for this service, and check whether it is asking for authentication

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not asking for authentication, but even putting direct login creds, it's still failing to do so. I guess the problem is somwhere with the container configuration.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Haan, figure it out then.

password: ${VAULT_PASS}
tushar5526 marked this conversation as resolved.
Show resolved Hide resolved
groups:
- admin
connections:
Expand Down