From 4147e35b550173cfc43ed797588be9871d00394d Mon Sep 17 00:00:00 2001 From: dingzhaojun Date: Thu, 1 Aug 2024 09:06:20 +0800 Subject: [PATCH] small update --- docker/docker-compose.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index a7d073a..082b086 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -1,17 +1,12 @@ -version: '3.7' +version: '3.8' name: demo-tomcat services: - demo-tomcat: + demo-tomcat-app: image: svn.youshengyun.com:9923/demo-tomcat-jib:latest - container_name: demo-tomcat01 restart: always extra_hosts: - "host.docker.internal:host-gateway" networks: - y9-share-net ports: - - "9080:8080" - -networks: - y9-share-net: - external: true \ No newline at end of file + - "9080:8080" \ No newline at end of file