261022_02_ENH: git에 env 파일 포함
This commit is contained in:
3
.env
Normal file
3
.env
Normal 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
3
.env.development
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
NEXT_PUBLIC_ENV=development
|
||||||
|
ENV=development
|
||||||
|
API_SERVER=http://127.0.0.1:4015/api/v1
|
||||||
@@ -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
3
.env.local
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
NEXT_PUBLIC_ENV=local
|
||||||
|
ENV=local
|
||||||
|
API_SERVER=http://localhost:4015/api/v1
|
||||||
3
.env.production
Normal file
3
.env.production
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
NEXT_PUBLIC_ENV=production
|
||||||
|
ENV=production
|
||||||
|
API_SERVER=http://127.0.0.1/api/v1
|
||||||
7
.gitignore
vendored
7
.gitignore
vendored
@@ -15,9 +15,4 @@ yarn-debug.log*
|
|||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
.pnpm-debug.log*
|
.pnpm-debug.log*
|
||||||
.idea/
|
.idea/
|
||||||
*.iml
|
*.iml
|
||||||
|
|
||||||
# Local environment files
|
|
||||||
.env
|
|
||||||
.env.*
|
|
||||||
!.env.example
|
|
||||||
Reference in New Issue
Block a user