签入版本
This commit is contained in:
@@ -166,9 +166,9 @@ services:
|
||||
# ====================================================================
|
||||
# 应用服务:构建并运行本项目
|
||||
# ====================================================================
|
||||
tornado_elevue:
|
||||
image: tornado_elevue:latest # 镜像名称
|
||||
container_name: tornado_elevue # 容器名称
|
||||
tornado_antdvue:
|
||||
image: tornado_antdvue:latest # 镜像名称
|
||||
container_name: tornado_antdvue # 容器名称
|
||||
build:
|
||||
context: ./ # 构建上下文为项目根目录
|
||||
dockerfile: Dockerfile # 使用项目根目录的 Dockerfile
|
||||
@@ -270,7 +270,7 @@ volumes:
|
||||
DB_DRIVER=mysql
|
||||
DB_HOST=mysql # Docker 服务名称,不是 127.0.0.1
|
||||
DB_PORT=3306
|
||||
DB_DATABASE=djangoadmin.tornado.elevue
|
||||
DB_DATABASE=djangoadmin.tornado.antdvue
|
||||
DB_USERNAME=root
|
||||
DB_PASSWORD=your_mysql_password # 与 MYSQL_ROOT_PASSWORD 一致
|
||||
DB_PREFIX=tornado_
|
||||
|
||||
Reference in New Issue
Block a user