261022_02_ENH: git에 env 파일 포함

This commit is contained in:
2026-10-22 10:25:41 +09:00
parent 776a2930f5
commit a964dcbee3
6 changed files with 13 additions and 15 deletions

3
.env Normal file
View File

@@ -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!

3
.env.development Normal file
View File

@@ -0,0 +1,3 @@
NEXT_PUBLIC_ENV=development
ENV=development
API_SERVER=http://127.0.0.1:4015/api/v1

View File

@@ -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

3
.env.local Normal file
View File

@@ -0,0 +1,3 @@
NEXT_PUBLIC_ENV=local
ENV=local
API_SERVER=http://localhost:4015/api/v1

3
.env.production Normal file
View File

@@ -0,0 +1,3 @@
NEXT_PUBLIC_ENV=production
ENV=production
API_SERVER=http://127.0.0.1/api/v1

5
.gitignore vendored
View File

@@ -16,8 +16,3 @@ yarn-error.log*
.pnpm-debug.log* .pnpm-debug.log*
.idea/ .idea/
*.iml *.iml
# Local environment files
.env
.env.*
!.env.example