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:
@ -10,10 +10,10 @@ services:
- /www/wwwroot/backset/nginx/conf.d/:/etc/nginx/conf.d/
- /www/wwwroot/backset/nginx/ssl:/etc/nginx/ssl/
- /www/wwwroot/backset/nginx/html:/usr/share/nginx/html/
networks:
backset-net:
aliases:
- backset-nginx
networks:
backset-net:
aliases:
- backset-nginx
mysql:
image: mysql:5.7
@ -51,7 +51,7 @@ services:
aliases:
- backset-redis
web:
server:
image: backset/server:1.0
build:
context: ./
@ -66,14 +66,13 @@ services:
backset-net:
aliases:
- backset-server
links:
- mysql:mysql
- redis:redis
depends_on:
- mysql
- redis
- nginx
# links:
# - mysql:mysql
# - redis:redis
# depends_on:
# - mysql
# - redis
# - nginx
networks:
backset-net:
external: true
backset-net: