From 3a73916d913f521534827c5b6c8641a7719e3c58 Mon Sep 17 00:00:00 2001 From: Nik Afiq Date: Sat, 23 Aug 2025 13:45:30 +0900 Subject: [PATCH] Edited .env --- .env.example | 10 ++++++++++ .env.sample | 0 2 files changed, 10 insertions(+) create mode 100644 .env.example delete mode 100644 .env.sample diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..a8e59fc --- /dev/null +++ b/.env.example @@ -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 diff --git a/.env.sample b/.env.sample deleted file mode 100644 index e69de29..0000000