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