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

app.yml docker file contains Spring specific environment properties to override configurations #293

Open
vishal423 opened this issue Sep 2, 2023 · 1 comment
Labels
$$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $100 https://www.jhipster.tech/bug-bounties/

Comments

@vishal423
Copy link
Collaborator

Describe the bug
app.yml docker file (present under src/main/docker directory) contains Spring specific environment properties to override configurations e.g. DB JDBC details. It causes docker-compose startup to fail connecting DB.

To Reproduce
Steps to reproduce the behavior:

  1. Generate application with Postgres DB
  2. Package application using Production profile
  3. Create docker image with build -t command using .jvm docker file to create docker image.
  4. Start application and associated dependencies with docker-compose -f src/main/docker/app.yml up command
  5. Notice errors during startup indicating failure to connect DB

Expected behavior
Application should startup successfully without requiring configuration override.

@mraible mraible added $$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $100 https://www.jhipster.tech/bug-bounties/ labels Sep 12, 2023
@mraible
Copy link
Contributor

mraible commented Sep 12, 2023

I added a bug bounty since no one has revoked my permissions for them yet. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
$$ bug-bounty $$ https://www.jhipster.tech/bug-bounties/ $100 https://www.jhipster.tech/bug-bounties/
Projects
None yet
Development

No branches or pull requests

2 participants