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

View File

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