feat: drone.ci
This commit is contained in:
parent
0566389f87
commit
70b60e35f8
|
@ -9,7 +9,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => {
|
|||
* 单数据库实例
|
||||
*/
|
||||
type: 'mysql',
|
||||
host: 'backset-mysql',
|
||||
host: '172.16.238.33',
|
||||
port: 43306,
|
||||
username: 'backset',
|
||||
password: 'backset',
|
||||
|
@ -25,7 +25,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => {
|
|||
},
|
||||
redis: {
|
||||
client: {
|
||||
host: 'backset-redis', // Redis host
|
||||
host: '172.16.238.44', // Redis host
|
||||
port: 46379, // Redis port
|
||||
password: 'cr654654.',
|
||||
db: 0,
|
||||
|
|
|
@ -12,6 +12,7 @@ services:
|
|||
- 7001:7001
|
||||
networks:
|
||||
backset-net:
|
||||
ipv4_address: 172.16.238.11
|
||||
aliases:
|
||||
- backset-server
|
||||
|
||||
|
@ -36,6 +37,7 @@ services:
|
|||
- /www/wwwroot/mysql/logs:/var/log/mysql
|
||||
networks:
|
||||
backset-net:
|
||||
ipv4_address: 172.16.238.33
|
||||
aliases:
|
||||
- backset-mysql
|
||||
|
||||
|
@ -44,15 +46,16 @@ services:
|
|||
container_name: backset-redis
|
||||
restart: always
|
||||
ports:
|
||||
- 26379:6379
|
||||
- 46379:6379
|
||||
expose:
|
||||
- 26379
|
||||
- 46379
|
||||
volumes:
|
||||
- /www/wwwroot/redis/conf:/etc/redis/redis.conf
|
||||
- /www/wwwroot/redis/data:/data
|
||||
command: redis-server --appendonly yes --requirepass "cr654654."
|
||||
networks:
|
||||
backset-net:
|
||||
ipv4_address: 172.16.238.44
|
||||
aliases:
|
||||
- backset-redis
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user