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