23 lines
704 B
Bash
23 lines
704 B
Bash
;使用本地docker数据库就将这段代码解开,如何将IP换成本机IP或者localhost
|
||
; DATABASE_URL="mysql://root:123456@10.1.5.219:3306/ftrade"
|
||
; DATABASE_CREATE_URL ="mysql://root:123456@10.1.5.219:3306/ftrade"
|
||
|
||
DATABASE_URL="mysql://wangche:fN7sXX8saiQKXWbG@cqxqg.tech:3308/wangche"
|
||
DATABASE_CREATE_URL ="mysql://wangche:fN7sXX8saiQKXWbG@cqxqg.tech:3308/wangche"
|
||
|
||
REDIS_URL="redis://:redis_tQNjCH@cqxqg.tech:6380"
|
||
|
||
SITE_DOMAIN=127.0.0.1
|
||
SECURE_COOKIES=false
|
||
|
||
ENVIRONMENT=LOCAL
|
||
|
||
CORS_HEADERS=["*"]
|
||
CORS_ORIGINS=["http://localhost:3000"]
|
||
|
||
# postgres variables, must be the same as in DATABASE_URL
|
||
POSTGRES_USER=app
|
||
POSTGRES_PASSWORD=app
|
||
POSTGRES_HOST=app_db
|
||
POSTGRES_PORT=5432
|
||
POSTGRES_DB=app |