feat: drone.ci

This commit is contained in:
mozzie 2023-03-20 14:24:43 +08:00
parent 70b60e35f8
commit 7d26835299
2 changed files with 2 additions and 6 deletions

View File

@ -10,7 +10,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => {
*/ */
type: 'mysql', type: 'mysql',
host: '172.16.238.33', host: '172.16.238.33',
port: 43306, port: 3306,
username: 'backset', username: 'backset',
password: 'backset', password: 'backset',
database: 'backset', database: 'backset',
@ -26,7 +26,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => {
redis: { redis: {
client: { client: {
host: '172.16.238.44', // Redis host host: '172.16.238.44', // Redis host
port: 46379, // Redis port port: 6379, // Redis port
password: 'cr654654.', password: 'cr654654.',
db: 0, db: 0,
}, },

View File

@ -22,8 +22,6 @@ services:
container_name: backset-mysql container_name: backset-mysql
ports: ports:
- 46033:3306 - 46033:3306
expose:
- 46033
environment: environment:
- "MYSQL_DATABASE=backset" - "MYSQL_DATABASE=backset"
- "MYSQL_USER=backset" - "MYSQL_USER=backset"
@ -47,8 +45,6 @@ services:
restart: always restart: always
ports: ports:
- 46379:6379 - 46379:6379
expose:
- 46379
volumes: volumes:
- /www/wwwroot/redis/conf:/etc/redis/redis.conf - /www/wwwroot/redis/conf:/etc/redis/redis.conf
- /www/wwwroot/redis/data:/data - /www/wwwroot/redis/data:/data