y9demo-tomcat/docker/docker-compose.yml

16 lines
328 B
YAML
Raw Normal View History

2024-08-02 08:17:49 +08:00
version: '3.8'
2024-08-02 08:58:23 +08:00
name: y9demo-tomcat
2024-08-02 08:17:49 +08:00
services:
2024-08-02 08:58:23 +08:00
y9demo-tomcat:
2024-08-02 10:01:18 +08:00
image: svn.youshengyun.com:9923/y9demo-tomcat-jib:1.0-20240802-082514
2024-08-02 08:17:49 +08:00
restart: always
2024-08-02 08:58:23 +08:00
extra_hosts:
- "host.docker.internal:host-gateway"
networks:
- y9-share-net
2024-08-02 08:17:49 +08:00
ports:
2024-08-02 08:58:23 +08:00
- "9080:8080"
networks:
y9-share-net:
external: true