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