mirror of
https://github.com/v2fly/v2ray-examples.git
synced 2025-04-03 09:39:29 +08:00
12 lines
294 B
YAML
12 lines
294 B
YAML
version: '3'
|
|
services:
|
|
xray:
|
|
image: teddysun/xray
|
|
restart: unless-stopped
|
|
network_mode: host
|
|
environment:
|
|
- V2RAY_VMESS_AEAD_FORCED=false
|
|
entrypoint: ["/usr/bin/xray", "-config", "/etc/xray/config.json"]
|
|
volumes:
|
|
- ./config.json:/etc/xray/config.json:ro
|