This commit is contained in:
mojin 2023-02-08 10:14:38 +08:00
parent 73ea1d5c22
commit d30bb79d21
1 changed files with 9 additions and 9 deletions

View File

@ -4,7 +4,7 @@ server:
# 本地接口服务
#dev: http://192.168.1.183:8888/api/private/v1 http://127.0.0.1:8888/api/private/v1 https://peach-test.hjgpscm.com/graphql
dev: http://192.168.1.183:8888/api/private/v1
dev: http://192.168.1.185:8888/api/private/v1
test: http://127.0.0.1:8888/api/private/v1
prod: http://127.0.0.1:8888/api/private/v1
@ -94,13 +94,13 @@ email:
database:
#host: "192.168.1.183" #localhost 127.0.0.1
dev: #开发环境数据库
db_type: postgresql #mysql,postgresql 数据库类型
db_type: mysql #mysql,postgresql 数据库类型
data:
host: "192.168.1.183" #localhost 127.0.0.1
host: "192.168.1.234" #localhost 127.0.0.1
port: 3306
user: root
# 不用''会被解析成int类型数据
password: root
password: '123456'
database: mydb
@ -130,10 +130,10 @@ database:
ssh_server:
#备份 /恢复 需要将将数据库服务器的D:\Program Files\PostgreSQL\14\bin或D:\Program Files\mysql-8.0.30-winx64\bin 配置到环境变量中
dev: #开发环境数据库所在的服务器
host: "192.168.1.183" #localhost 127.0.0.1
host: "192.168.1.234" #localhost 127.0.0.1
port: 22
username: root
password: root
username: NING MEI
password: '123456'
# 私有密钥文件路径
private_key_file: ''
# 私钥密码
@ -141,9 +141,9 @@ ssh_server:
# 如果使用的docker容器部署mysql服务需要传入mysql的容器id/name
mysql_container:
# 数据库备份文件导出的本地路径, 需要保证存在该文件夹下 ./backup_sqls/
sql_data_file: /mnt/backup_sql/ # /mnt/backup_sql/
sql_data_file: D:\Users\ # Linux路径 /mnt/backup_sql/ windows路径: D:\Users
#上传本地已初始化好的数据库sql文件恢复到测试数据库进行测试
sql_upload_file: ./config/mydb.sql
sql_upload_file: ./config/mydb.sql #ar_myb.sql ./config/mydb.sql
test: #开发环境数据库所在的服务器
host: "192.168.1.234" #localhost 127.0.0.1