From db8242513644b246a30222663ef20e21f1e7c7ce Mon Sep 17 00:00:00 2001 From: heheng <475597332@qq.com> Date: 星期二, 10 六月 2025 09:55:46 +0800 Subject: [PATCH] init --- exam-admin/src/main/resources/application-dev.yml | 60 ++++++++---------------------------------------------------- 1 files changed, 8 insertions(+), 52 deletions(-) diff --git a/exam-admin/src/main/resources/application-dev.yml b/exam-admin/src/main/resources/application-dev.yml index 3efa879..8e17d7a 100644 --- a/exam-admin/src/main/resources/application-dev.yml +++ b/exam-admin/src/main/resources/application-dev.yml @@ -5,7 +5,7 @@ druid: # 主库数据源 master: - url: jdbc:mysql://192.168.2.16:7006/train_exam?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&allowMultiQueries=true + url: jdbc:mysql://192.168.2.27:7006/train_exam?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&serverTimezone=Asia/Shanghai&useSSL=false&allowPublicKeyRetrieval=true&allowMultiQueries=true username: root password: 2farwL3yPXfbH2AP # 从库数据源 @@ -16,7 +16,7 @@ password: initialSize: 5 #连接池初始化大小 minIdle: 10 #最小空闲连接数 - maxActive: 20 #最大连接数 + maxActive: 50 #最大连接数 # 配置获取连接等待超时的时间 maxWait: 60000 # 配置连接超时时间 @@ -42,7 +42,7 @@ #redis 配置 redis: database: 0 - host: 127.0.0.1 + host: 192.168.2.27 port: 6379 password: @@ -73,57 +73,13 @@ level: root: INFO org: - com.nms.swspkmas_standalone: DEBUG - file: - name: logs/nms-kaoshi.log + com.gkhy.exam: DEBUG swagger: enabled: true minio: - endpoint: http://106.15.95.149:9001/ #Minio服务所在地址 - bucketName: safeplatform-demo #存储桶名称 - accessKey: U9JW4xOeeUQOSR4f #访问的key - secretKey: iaqQV6twR9yDZiFAf2UYr5xZfESanZs3 #访问的秘钥 - - - - - -version: '3.9' -services: - kele_mysql: - restart: always - image: mysql:5.6 - volumes: - - ./data/mysql:/var/lib/mysql - - ./conf/mysql/:/etc/mysql/conf.d - ports: - - "3306:3306" - environment: - - MYSQL_DATABASE=imooc - - MYSQL_ROOT_PASSWORD=root - - kele_nginx: - restart: always - image: nginx - ports: - - "8001:80" - volumes: - - ./conf/nginx/mx_nginx.conf:/etc/nginx/conf.d/mx_nginx.conf - volumes_from: - - kele_imooc - links: - - kele_imooc:web - - kele_imooc: - restart: always - build: . - ports: - - "8000:8000" - volumes: - - .:/imooc - links: - - kele_mysql:mysql - command: uwsgi -s :8000 -w imooc.wsgi -p 3 - + endpoint: http://192.168.2.27:9000/ #Minio服务所在地址 + bucketName: trainexam #存储桶名称 + accessKey: JuHGtYXvgJdeaPHcu5AI #访问的key + secretKey: mQhUsIYnD696ZFI2sJ6eQ77tmmoe9TTUavFg9Ien #访问的秘钥 \ No newline at end of file -- Gitblit v1.9.2