Skip to content

Commit

Permalink
Simplified Google Cloud configuration (#112)
Browse files Browse the repository at this point in the history
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
  • Loading branch information
ArnyminerZ authored Apr 18, 2024
1 parent 299831b commit cb9b395
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ services:
# -- Configure Sentry
# Optional: SENTRY_DSN
# IS_PRODUCTION: false by default
# -- Configure Google Cloud
# Optional: GOOGLE_APPLICATION_CREDENTIALS
env_file:
- "secrets.env"
volumes:
Expand Down
5 changes: 4 additions & 1 deletion src/main/kotlin/system/EnvironmentVariables.kt
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ object EnvironmentVariables {
/**
* The path to the service account file for Google Cloud services.
*/
data object ServiceAccountFile : EnvironmentVariable("GOOGLE_APPLICATION_CREDENTIALS")
data object ServiceAccountFile : EnvironmentVariable(
"GOOGLE_APPLICATION_CREDENTIALS",
"/var/lib/escalaralcoiaicomtat/google-services.json"
)
}
}

Expand Down

0 comments on commit cb9b395

Please sign in to comment.