feat: drone.ci

This commit is contained in:
mozzie 2023-03-20 15:49:42 +08:00
parent c944b18786
commit 717d2d3247
2 changed files with 8 additions and 5 deletions

View File

@ -9,7 +9,7 @@ export default (appInfo: MidwayAppInfo): MidwayConfig => {
*
*/
type: 'mysql',
host: 'mysql',
host: 'backset-mysql',
port: 3307,
username: 'root',
password: 'root',

View File

@ -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: