Commit 2ff50e79 authored by wang's avatar wang

test

parent ffbdb4e7
version: "3.7" # compose版本号 version: "3.7" # compose版本号
services: services:
reese841: # 单个服务标识(名字) reese841: # 单个服务标识(名字)
container_name: lcc-py-reese84-1 # 启动后的容器名称 相当于 --name 指定的名称 container_name: lcc-py-tr-1 # 启动后的容器名称 相当于 --name 指定的名称
image: lcctr:latest # 镜像 image: lcctr:latest # 镜像
restart: "always" restart: "always"
deploy: deploy:
...@@ -14,7 +14,7 @@ services: ...@@ -14,7 +14,7 @@ services:
environment: environment:
- work_dir=1 - work_dir=1
reese842: # 单个服务标识(名字) reese842: # 单个服务标识(名字)
container_name: lcc-py-reese84-2 # 启动后的容器名称 相当于 --name 指定的名称 container_name: lcc-py-tr-2 # 启动后的容器名称 相当于 --name 指定的名称
image: lcctr:latest # 镜像 image: lcctr:latest # 镜像
restart: "always" restart: "always"
deploy: deploy:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment