v2ray-examples/VLESS-WS-Docker/docker-compose.yml
2022-12-14 10:49:17 +03:30

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