From df5d901103bf40c68f26dbeb842cfe071eaeafd5 Mon Sep 17 00:00:00 2001 From: dashan Date: Mon, 20 Nov 2023 23:15:50 +0800 Subject: [PATCH] config:docker --- docker/deploy.sh | 2 +- docker/docker-compose.yml | 6 +++--- docker/ds/gateway/Dockerfile | 2 +- docker/ds/modules/miniapps/Dockerfile | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/deploy.sh b/docker/deploy.sh index 88bf2f0..ec0af58 100644 --- a/docker/deploy.sh +++ b/docker/deploy.sh @@ -31,7 +31,7 @@ base(){ } # 停止基础环境 stopbase(){ - docker-compose rm ds-nacos + docker-compose stop ds-nacos } # 删除基础环境 rmbase(){ diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index ad89904..724452f 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -88,18 +88,18 @@ services: container_name: ds-gateway build: context: ./ds/gateway - dockerfile: dockerfile + dockerfile: Dockerfile ports: - "8080:8080" depends_on: - ds-nacos networks: - ds-network - ds-miniappss: + ds-miniapps: container_name: ds-miniapps build: context: ./ds/modules/miniapps - dockerfile: dockerfile + dockerfile: Dockerfile ports: - "15101:15101" depends_on: diff --git a/docker/ds/gateway/Dockerfile b/docker/ds/gateway/Dockerfile index 5008c5e..8449628 100644 --- a/docker/ds/gateway/Dockerfile +++ b/docker/ds/gateway/Dockerfile @@ -1,5 +1,5 @@ #基础镜像 -FROM openjdk:17-jre +FROM openjdk:17 # author MAINTAINER dashan # 挂载目录 diff --git a/docker/ds/modules/miniapps/Dockerfile b/docker/ds/modules/miniapps/Dockerfile index 904de86..8859035 100644 --- a/docker/ds/modules/miniapps/Dockerfile +++ b/docker/ds/modules/miniapps/Dockerfile @@ -1,5 +1,5 @@ #基础镜像 -FROM openjdk:17-jre +FROM openjdk:17 # author MAINTAINER dashan # 挂载目录