From a964dcbee3a99d9ff0abfaa32904b10aeacbc288 Mon Sep 17 00:00:00 2001 From: kric_jspark Date: Thu, 22 Oct 2026 10:25:41 +0900 Subject: [PATCH] =?UTF-8?q?261022=5F02=5FENH:=20git=EC=97=90=20env=20?= =?UTF-8?q?=ED=8C=8C=EC=9D=BC=20=ED=8F=AC=ED=95=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 3 +++ .env.development | 3 +++ .env.example | 9 --------- .env.local | 3 +++ .env.production | 3 +++ .gitignore | 7 +------ 6 files changed, 13 insertions(+), 15 deletions(-) create mode 100644 .env create mode 100644 .env.development delete mode 100644 .env.example create mode 100644 .env.local create mode 100644 .env.production diff --git a/.env b/.env new file mode 100644 index 0000000..7b7d94a --- /dev/null +++ b/.env @@ -0,0 +1,3 @@ +NEXT_PUBLIC_API_BASE=/api +NEXT_PUBLIC_STORE_KEY=kri-local-storage-key-32-bytes!! +NEXT_PUBLIC_STORE_IV=kri-local-iv-16! diff --git a/.env.development b/.env.development new file mode 100644 index 0000000..8903406 --- /dev/null +++ b/.env.development @@ -0,0 +1,3 @@ +NEXT_PUBLIC_ENV=development +ENV=development +API_SERVER=http://127.0.0.1:4015/api/v1 diff --git a/.env.example b/.env.example deleted file mode 100644 index 4277422..0000000 --- a/.env.example +++ /dev/null @@ -1,9 +0,0 @@ -# 모든 환경 공통 -NEXT_PUBLIC_API_BASE=/api -NEXT_PUBLIC_STORE_KEY=change-this-storage-key-32-bytes -NEXT_PUBLIC_STORE_IV=change-this-iv-16 - -# 환경별 값 (.env.local / .env.development / .env.production) -NEXT_PUBLIC_ENV=local -ENV=local -API_SERVER=http://localhost:4015/api/v1 diff --git a/.env.local b/.env.local new file mode 100644 index 0000000..f50767d --- /dev/null +++ b/.env.local @@ -0,0 +1,3 @@ +NEXT_PUBLIC_ENV=local +ENV=local +API_SERVER=http://localhost:4015/api/v1 diff --git a/.env.production b/.env.production new file mode 100644 index 0000000..d834dd5 --- /dev/null +++ b/.env.production @@ -0,0 +1,3 @@ +NEXT_PUBLIC_ENV=production +ENV=production +API_SERVER=http://127.0.0.1/api/v1 diff --git a/.gitignore b/.gitignore index 5efe7ee..2552bca 100644 --- a/.gitignore +++ b/.gitignore @@ -15,9 +15,4 @@ yarn-debug.log* yarn-error.log* .pnpm-debug.log* .idea/ -*.iml - -# Local environment files -.env -.env.* -!.env.example +*.iml \ No newline at end of file