small edit compose.yml

This commit is contained in:
dzj 2024-08-02 08:58:23 +08:00
parent 36743c27e4
commit 9bc3ad356d
1 changed files with 12 additions and 3 deletions

View File

@ -1,7 +1,16 @@
version: '3.8'
name: y9demo-tomcat
services:
demo-tomcat-app:
image: svn.youshengyun.com:9923/demo-tomcat-jib:latest
y9demo-tomcat:
image: svn.youshengyun.com:9923/y9demo-tomcat-jib:latest
restart: always
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- y9-share-net
ports:
- "9080:8080"
- "9080:8080"
networks:
y9-share-net:
external: true