feat: drone.ci

This commit is contained in:
mozzie 2023-03-20 11:24:47 +08:00
parent 5a62e30259
commit a38ba51948
2 changed files with 10 additions and 10 deletions

View File

@ -9,7 +9,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => {
*
*/
type: 'mysql',
host: 'mysql',
host: 'localhost',
port: 43306,
username: 'backset',
password: 'backset',
@ -25,7 +25,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => {
},
redis: {
client: {
host: 'redis', // Redis host
host: 'localhost', // Redis host
port: 46379, // Redis port
password: 'cr654654.',
db: 0,

View File

@ -1,8 +1,8 @@
version: "3"
networks:
backset.cn-net:
external: true
# networks:
# backset.cn-net:
# external: true
services:
web:
@ -11,8 +11,8 @@ services:
container_name: backset-server # 容器名称
ports:
- "7001:7001"
networks:
backset.cn-net:
ipv4_address: 172.31.0.48
aliases:
- backset-server
# networks:
# backset.cn-net:
# ipv4_address: 172.31.0.48
# aliases:
# - backset-server