Skip to content

the apiserver had troubles connecting to the PSQL #4120

Closed Answered by nscuro
Najafov007 asked this question in Q&A
Discussion options

You must be logged in to vote

See here for general configuration guidance: https://docs.dependencytrack.org/getting-started/database-support/

Note that for containers, the properties are set via environment variables, as explained here: https://docs.dependencytrack.org/getting-started/configuration/#api-server

If you're using the Helm chart, the following should be in your custom values.yaml:

apiServer:
  extraEnv:
  - name: ALPINE_DATABASE_MODE
    value: "external"
  - name: ALPINE_DATABASE_URL
    value: "jdbc:postgresql://postgres.example.com:5432/dtrack"
  - name: ALPINE_DATABASE_DRIVER
    value: "org.postgresql.Driver"
  - name: ALPINE_DATABASE_USERNAME
    value: "dtrack"
  - name: ALPINE_DATABASE_PASSWORD
    v…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Najafov007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4117 on September 03, 2024 16:29.