动态容器名称
This commit is contained in:
parent
70f71d4b5e
commit
f1078a2ecd
@ -2,7 +2,7 @@ services:
|
|||||||
xray:
|
xray:
|
||||||
image: teddysun/xray:latest
|
image: teddysun/xray:latest
|
||||||
restart: always
|
restart: always
|
||||||
container_name: xray_reality
|
container_name: "${COMPOSE_PROJECT_NAME}" # 容器名为文件夹名称
|
||||||
network_mode: "host"
|
network_mode: "host"
|
||||||
volumes:
|
volumes:
|
||||||
- "./conf:/etc/xray"
|
- "./conf:/etc/xray"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user