add
This commit is contained in:
21
.env
Normal file
21
.env
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
# 数据库配置
|
||||||
|
DB_USER=postgres
|
||||||
|
DB_PASSWORD=postgres12341234
|
||||||
|
DB_NAME=postgres
|
||||||
|
DB_PORT=5432
|
||||||
|
DB_SSL_MODE=disable
|
||||||
|
DB_MAX_OPEN_CONNS=25
|
||||||
|
DB_MAX_IDLE_CONNS=25
|
||||||
|
DB_TIMEOUT=30s
|
||||||
|
|
||||||
|
# 时区配置
|
||||||
|
TZ=Asia/Shanghai
|
||||||
|
|
||||||
|
# 网关端口
|
||||||
|
PORT=80
|
||||||
|
|
||||||
|
# 日志配置
|
||||||
|
LOG_LEVEL=info
|
||||||
|
|
||||||
|
# Gin模式 (debug/release/test)
|
||||||
|
GIN_MODE=release
|
||||||
4
.gitignore
vendored
4
.gitignore
vendored
@@ -174,7 +174,7 @@ celerybeat.pid
|
|||||||
*.sage.py
|
*.sage.py
|
||||||
|
|
||||||
# Environments
|
# Environments
|
||||||
.env
|
# .env
|
||||||
.venv
|
.venv
|
||||||
env/
|
env/
|
||||||
venv/
|
venv/
|
||||||
@@ -324,7 +324,7 @@ web_modules/
|
|||||||
.yarn-integrity
|
.yarn-integrity
|
||||||
|
|
||||||
# dotenv environment variable files
|
# dotenv environment variable files
|
||||||
.env
|
# .env
|
||||||
.env.development.local
|
.env.development.local
|
||||||
.env.test.local
|
.env.test.local
|
||||||
.env.production.local
|
.env.production.local
|
||||||
|
|||||||
Reference in New Issue
Block a user