From 7d26835299315f70f7bad4fcb8e2bac8142e1ee3 Mon Sep 17 00:00:00 2001 From: mozzie Date: Mon, 20 Mar 2023 14:24:43 +0800 Subject: [PATCH] feat: drone.ci --- apps/server/src/config/config.prod.ts | 4 ++-- docker-compose.yml | 4 ---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/apps/server/src/config/config.prod.ts b/apps/server/src/config/config.prod.ts index 1c61693..4e8db8b 100644 --- a/apps/server/src/config/config.prod.ts +++ b/apps/server/src/config/config.prod.ts @@ -10,7 +10,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => { */ type: 'mysql', host: '172.16.238.33', - port: 43306, + port: 3306, username: 'backset', password: 'backset', database: 'backset', @@ -26,7 +26,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => { redis: { client: { host: '172.16.238.44', // Redis host - port: 46379, // Redis port + port: 6379, // Redis port password: 'cr654654.', db: 0, }, diff --git a/docker-compose.yml b/docker-compose.yml index 7589fe2..93970f9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -22,8 +22,6 @@ services: container_name: backset-mysql ports: - 46033:3306 - expose: - - 46033 environment: - "MYSQL_DATABASE=backset" - "MYSQL_USER=backset" @@ -47,8 +45,6 @@ services: restart: always ports: - 46379:6379 - expose: - - 46379 volumes: - /www/wwwroot/redis/conf:/etc/redis/redis.conf - /www/wwwroot/redis/data:/data