Browse Source

config:docker

dev-minio
dashan 1 year ago
parent
commit
df5d901103
  1. 2
      docker/deploy.sh
  2. 6
      docker/docker-compose.yml
  3. 2
      docker/ds/gateway/Dockerfile
  4. 2
      docker/ds/modules/miniapps/Dockerfile

2
docker/deploy.sh

@ -31,7 +31,7 @@ base(){ @@ -31,7 +31,7 @@ base(){
}
# 停止基础环境
stopbase(){
docker-compose rm ds-nacos
docker-compose stop ds-nacos
}
# 删除基础环境
rmbase(){

6
docker/docker-compose.yml

@ -88,18 +88,18 @@ services: @@ -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:

2
docker/ds/gateway/Dockerfile

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
#基础镜像
FROM openjdk:17-jre
FROM openjdk:17
# author
MAINTAINER dashan
# 挂载目录

2
docker/ds/modules/miniapps/Dockerfile

@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
#基础镜像
FROM openjdk:17-jre
FROM openjdk:17
# author
MAINTAINER dashan
# 挂载目录

Loading…
Cancel
Save