- Docker and Docker-compose
- Non-root account
- Domain name on cloudflare
- Cloudflare auth token with the
Zone.DNS
permission
mkdir xray-warp && \
cd xray-warp && \
mkdir certs && \
mkdir -p config/{caddy_config,xray_config} && \
touch docker-compose.yaml
services:
xray-warp:
image: xia1997x/xray-warp:latest
container_name: xray-warp-ct
user: 1000:1000
ports:
- '443:443'
environment:
- DOMAIN_NAME=subdomain.domain.tld
- PORT=443
- FINGERPRINT=chrome
- XRAY_VERSION=latest # The latest tag will now skip over pre-releases
- WGCF_VERSION=2.2.24
- CLOUDFLARE_AUTH_TOKEN=
- ENABLE_CADDY_LOG=False
- ENABLE_IPV6=False # Should be false per default if VPS supports ipv6 you can enable this!
volumes:
- ./certs:/xray_base/caddy_certs
- ./config/xray_config:/xray_base/xray_config
- ./config/caddy_config:/xray_base/caddy_config
📦xray-ct-test
┣ 📂certs
┣ 📂config
┃ ┣ 📂caddy_config
┃ ┗ 📂xray_config
┗ 📜docker-compose.yaml
sudo docker-compose up -d
NOTE: After starting the container, you can find the VLESS link and QR code inside the xray_config
folder.
Enjoying this project? Support me with a coffee! ☕️✨ Thanks for your support! 🙌 https://ko-fi.com/xia1997x
Made with ❤️ in Sweden! By xia1997x