feat: drone.ci

This commit is contained in:
mozzie 2023-03-20 15:46:26 +08:00
parent 311bc7bdf6
commit c944b18786

View File

@ -1,4 +1,4 @@
version: "3.4" version: "3"
services: services:
@ -10,10 +10,10 @@ services:
- /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/
- /www/wwwroot/backset/nginx/html:/usr/share/nginx/html/ - /www/wwwroot/backset/nginx/html:/usr/share/nginx/html/
networks: networks:
backset-net: backset-net:
aliases: aliases:
- backset-nginx - backset-nginx
mysql: mysql:
image: mysql:5.7 image: mysql:5.7
@ -51,7 +51,7 @@ services:
aliases: aliases:
- backset-redis - backset-redis
web: server:
image: backset/server:1.0 image: backset/server:1.0
build: build:
context: ./ context: ./
@ -66,14 +66,13 @@ services:
backset-net: backset-net:
aliases: aliases:
- backset-server - backset-server
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:
external: true