添加项目说明图片, 修改打包oss配置
This commit is contained in:
40
docker/.env.example
Normal file
40
docker/.env.example
Normal file
@@ -0,0 +1,40 @@
|
||||
# web
|
||||
VITE_BACKEND_URL=http://backend:8000
|
||||
|
||||
VITE_OSS_ENABLED=false
|
||||
VITE_OSS_REGION=oss-cn-hangzhou
|
||||
VITE_OSS_ACCESS_KEY_ID=your_access_key_id
|
||||
VITE_OSS_ACCESS_KEY_SECRET=your_access_key_secret
|
||||
VITE_OSS_BUCKET=your_bucket_name
|
||||
VITE_OSS_PREFIX=frontend/
|
||||
VITE_OSS_DELETE_LOCAL=false
|
||||
|
||||
# MySQL
|
||||
MYSQL_DATABASE=django_vue
|
||||
MYSQL_USER=chenze
|
||||
MYSQL_PASSWORD=ca25045c409e60fab517c7327dd527ef27c48ca6
|
||||
MYSQL_PORT=3306
|
||||
MYSQL_ROOT_PASSWORD=58ce16c2ee80311e130b30f11160ef77e0ac6aa7
|
||||
|
||||
# Django
|
||||
DEBUG=False
|
||||
DJANGO_ALLOWED_HOSTS=*
|
||||
DB_NAME=django_vue
|
||||
DB_USER=root
|
||||
DB_PASSWORD=58ce16c2ee80311e130b30f11160ef77e0ac6aa7
|
||||
DB_HOST=db
|
||||
DB_PORT=3306
|
||||
|
||||
# Redis
|
||||
REDIS_HOST=redis
|
||||
REDIS_PORT=6379
|
||||
REDIS_PASSWORD=e4c173f1b708e8e90f12bc1481e8b3ef
|
||||
|
||||
# Flower
|
||||
FLOWER_PORT=5555
|
||||
|
||||
# 后端服务端口
|
||||
BACKEND_PORT=8000
|
||||
|
||||
# Nginx
|
||||
NGINX_PORT=80
|
||||
@@ -1,3 +1,6 @@
|
||||
# web
|
||||
VITE_BACKEND_URL=http://backend:8000
|
||||
|
||||
# MySQL
|
||||
MYSQL_DATABASE=django_vue
|
||||
MYSQL_USER=chenze
|
||||
@@ -9,8 +12,8 @@ MYSQL_ROOT_PASSWORD=58ce16c2ee80311e130b30f11160ef77e0ac6aa7
|
||||
DEBUG=False
|
||||
DJANGO_ALLOWED_HOSTS=*
|
||||
DB_NAME=django_vue
|
||||
DB_USER=chenze
|
||||
DB_PASSWORD=ca25045c409e60fab517c7327dd527ef27c48ca6
|
||||
DB_USER=root
|
||||
DB_PASSWORD=58ce16c2ee80311e130b30f11160ef77e0ac6aa7
|
||||
DB_HOST=db
|
||||
DB_PORT=3306
|
||||
|
||||
@@ -27,4 +30,3 @@ BACKEND_PORT=8000
|
||||
|
||||
# Nginx
|
||||
NGINX_PORT=80
|
||||
|
||||
|
||||
Reference in New Issue
Block a user