diff --git a/Dockerfile b/Dockerfile index f453ece..b481049 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,4 +43,4 @@ EXPOSE 8080 # Specify entry point ENTRYPOINT ["/app/ppanel"] -CMD ["ppanel_api", "--config", "etc/ppanel.yaml"] \ No newline at end of file +CMD ["ppanel", "--config", "etc/ppanel.yaml"] \ No newline at end of file diff --git a/Makefile b/Makefile index d143fae..4f6df37 100644 --- a/Makefile +++ b/Makefile @@ -64,7 +64,7 @@ docker-run: # Publish docker image | 发布 docker 镜像 .PHONY: build-linux build-linux: # Build project for Linux | 构建Linux下的可执行文件 - GOOS=linux GOARCH=$(GOARCH) $(GOBUILD) -o $(SERVICE_STYLE)_$(PROJECT_BUILD_SUFFIX) $(SERVICE_STYLE).go + GOOS=linux GOARCH=$(GOARCH) $(GOBUILD) -o /app/ppanel $(SERVICE_STYLE).go @echo "Build project for Linux successfully" .PHONY: help diff --git a/deploy/.env b/deploy/.env index d5eba3e..7820b24 100644 --- a/deploy/.env +++ b/deploy/.env @@ -8,7 +8,7 @@ export DOMAIN=ppanel.kxsw.us export PROJECT_NAME=ppanel # 容器项目名称 export SERVICE_NAME=server # 容器服务名称 export API_INNER_PORT=8080 -export API_EXTERNAL_PORT=8080 +export API_EXTERNAL_PORT=8070 # Container Repository export REGISTRY_URL=registry.kxsw.us # 本地 Docker Registry 地址,请根据实际情况修改