Skip to content

Commit

Permalink
Now relies on a DOLLY_APPLICATION_CREDENTIALS environment variable, w…
Browse files Browse the repository at this point in the history
…ith notes on how to set up on Linux|macOs|Windows.
  • Loading branch information
rfc3092 committed Dec 18, 2024
1 parent e7eabd3 commit 4db232e
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions apps/dolly-backend/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ services:
- "--run-connection-test"
volumes:
- type: bind
# Set a variable DOLLY_ADC_LOCATION.
# Set a variable $DOLLY_APPLICATION_CREDENTIALS. We don't use
# GOOGLE_APPLICATION_CREDENTIALS, as this causes an extra step during login.
#
# - $HOME/.config/gcloud/application_default_credentials.json for Linux/macOS.
# - $APPDATA/gcloud/application_default_credentials.json for Windows.
source: $DOLLY_ADC_LOCATION
source: $DOLLY_APPLICATION_CREDENTIALS
target: /application_default_credentials.json

opensearch:
Expand Down
6 changes: 4 additions & 2 deletions apps/organisasjon-forvalter/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ services:
- "--run-connection-test"
volumes:
- type: bind
# Set a variable DOLLY_ADC_LOCATION.
# Set a variable $DOLLY_APPLICATION_CREDENTIALS. We don't use
# GOOGLE_APPLICATION_CREDENTIALS, as this causes an extra step during login.
#
# - $HOME/.config/gcloud/application_default_credentials.json for Linux/macOS.
# - $APPDATA/gcloud/application_default_credentials.json for Windows.
source: $DOLLY_ADC_LOCATION
source: $DOLLY_APPLICATION_CREDENTIALS
target: /application_default_credentials.json
6 changes: 4 additions & 2 deletions apps/pdl-forvalter/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,10 @@ services:
- "--run-connection-test"
volumes:
- type: bind
# Set a variable DOLLY_ADC_LOCATION.
# Set a variable $DOLLY_APPLICATION_CREDENTIALS. We don't use
# GOOGLE_APPLICATION_CREDENTIALS, as this causes an extra step during login.
#
# - $HOME/.config/gcloud/application_default_credentials.json for Linux/macOS.
# - $APPDATA/gcloud/application_default_credentials.json for Windows.
source: $DOLLY_ADC_LOCATION
source: $DOLLY_APPLICATION_CREDENTIALS
target: /application_default_credentials.json

0 comments on commit 4db232e

Please sign in to comment.