You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
568 B
13 lines
568 B
version: "3.7"
|
|
services:
|
|
epmet-gateway: # 会自动生成容器名称: <当前所在目录>_epmet-gateway_1,依赖于所在目录,不稳定,所以使用container_name 完全手动指定
|
|
container_name: epmet-gateway-dev # 完全手动指定容器NAME
|
|
image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud/epmet-gateway:2.0.0
|
|
ports:
|
|
- "8080:8080"
|
|
network_mode: bridge # 不会创建新的网络
|
|
|
|
# 定义新的网络
|
|
#networks:
|
|
# epmet-gateway: # 会自动生成容器网络名称: <当前所在目录>_epmet-gateway
|
|
# driver: bridge
|