feat: drone.ci
This commit is contained in:
parent
c1c585c209
commit
4a128fa79e
|
@ -9,7 +9,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => {
|
||||||
* 单数据库实例
|
* 单数据库实例
|
||||||
*/
|
*/
|
||||||
type: 'mysql',
|
type: 'mysql',
|
||||||
host: 'backset-mysql',
|
host: 'mysql',
|
||||||
port: 3307,
|
port: 3307,
|
||||||
username: 'root',
|
username: 'root',
|
||||||
password: 'root',
|
password: 'root',
|
||||||
|
@ -25,7 +25,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => {
|
||||||
},
|
},
|
||||||
redis: {
|
redis: {
|
||||||
client: {
|
client: {
|
||||||
host: 'backset-redis', // Redis host
|
host: 'redis', // Redis host
|
||||||
port: 26379, // Redis port
|
port: 26379, // Redis port
|
||||||
password: 'cr654654.',
|
password: 'cr654654.',
|
||||||
db: 0,
|
db: 0,
|
||||||
|
|
|
@ -12,8 +12,8 @@ services:
|
||||||
- 7001:7001
|
- 7001:7001
|
||||||
|
|
||||||
links:
|
links:
|
||||||
- mysql:backset-mysql
|
- mysql:mysql
|
||||||
- redis:backset-redis
|
- redis:redis
|
||||||
depends_on:
|
depends_on:
|
||||||
- mysql
|
- mysql
|
||||||
- redis
|
- redis
|
||||||
|
|
Loading…
Reference in New Issue
Block a user