update: docker-compose 优化

This commit is contained in:
SliverHorn
2021-06-10 22:05:14 +08:00
parent 9b47c8f57c
commit 8516dbbcaf
10 changed files with 10 additions and 252 deletions

View File

@@ -10,8 +10,8 @@ networks:
services:
web:
build:
context: ./
dockerfile: ./dockerfile_web
context: ./web
dockerfile: ./Dockerfile
container_name: gva-web
restart: always
ports:
@@ -25,8 +25,8 @@ services:
server:
build:
context: ./
dockerfile: ./dockerfile_server
context: ./server
dockerfile: ./Dockerfile
container_name: gva-server
restart: always
ports: