Skip to content

Commit cb9b395

Browse files
authored
Simplified Google Cloud configuration (#112)
Signed-off-by: Arnau Mora <[email protected]>
1 parent 299831b commit cb9b395

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ services:
2121
# -- Configure Sentry
2222
# Optional: SENTRY_DSN
2323
# IS_PRODUCTION: false by default
24-
# -- Configure Google Cloud
25-
# Optional: GOOGLE_APPLICATION_CREDENTIALS
2624
env_file:
2725
- "secrets.env"
2826
volumes:

src/main/kotlin/system/EnvironmentVariables.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,10 @@ object EnvironmentVariables {
6060
/**
6161
* The path to the service account file for Google Cloud services.
6262
*/
63-
data object ServiceAccountFile : EnvironmentVariable("GOOGLE_APPLICATION_CREDENTIALS")
63+
data object ServiceAccountFile : EnvironmentVariable(
64+
"GOOGLE_APPLICATION_CREDENTIALS",
65+
"/var/lib/escalaralcoiaicomtat/google-services.json"
66+
)
6467
}
6568
}
6669

0 commit comments

Comments
 (0)