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