feat: drone.ci
This commit is contained in:
parent
c944b18786
commit
717d2d3247
|
@ -9,7 +9,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => {
|
|||
* 单数据库实例
|
||||
*/
|
||||
type: 'mysql',
|
||||
host: 'mysql',
|
||||
host: 'backset-mysql',
|
||||
port: 3307,
|
||||
username: 'root',
|
||||
password: 'root',
|
||||
|
|
|
@ -6,6 +6,9 @@ services:
|
|||
image: nginx:1.22
|
||||
restart: always
|
||||
container_name: backset-nginx
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- /www/wwwroot/backset/nginx/conf.d/:/etc/nginx/conf.d/
|
||||
- /www/wwwroot/backset/nginx/ssl:/etc/nginx/ssl/
|
||||
|
@ -69,10 +72,10 @@ services:
|
|||
# links:
|
||||
# - mysql:mysql
|
||||
# - redis:redis
|
||||
# depends_on:
|
||||
# - mysql
|
||||
# - redis
|
||||
# - nginx
|
||||
depends_on:
|
||||
- mysql
|
||||
- redis
|
||||
- nginx
|
||||
|
||||
networks:
|
||||
backset-net:
|
Loading…
Reference in New Issue
Block a user