Edited .env

This commit is contained in:
Nik Afiq 2025-08-23 13:45:30 +09:00
parent ccb8bbf8b7
commit 3a73916d91
2 changed files with 10 additions and 0 deletions

10
.env.example Normal file
View File

@ -0,0 +1,10 @@
# Project / DB names used by both emulator bootstrap and your Go app
SPANNER_PROJECT=test-project
SPANNER_INSTANCE=testinstance
SPANNER_DATABASE=testdb
# When your Go app runs on the HOST (Mac/Windows/Linux):
SPANNER_EMULATOR_HOST=localhost:9010
# When your Go app runs INSIDE docker-compose:
SPANNER_EMULATOR_HOST_DOCKER=spanner:9010

View File