Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/harukodi/xray-warp-ct

A docker container with auto warp and xray config generation
https://github.com/harukodi/xray-warp-ct

cdn censorship-circumvention china clash cloudflare proxy russia shadowsocks v2ray vless warp xhttp xray xray-core

Last synced: about 24 hours ago
JSON representation

A docker container with auto warp and xray config generation

Awesome Lists containing this project

README

        

# Xray-Warp docker container

## PREREQUISITES
* Docker and Docker-compose
* Non-root account
* Domain name on cloudflare
* Cloudflare auth token with the `Zone.DNS` permission

## Create docker-compose file and the needed folders
```bash
mkdir xray-warp && \
cd xray-warp && \
mkdir certs && \
mkdir -p config/{caddy_config,xray_config} && \
touch docker-compose.yaml
```

## Docker-compose file example
```yaml
services:
xray-warp:
image: 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=24.12.31 # The latest tag in the Xray GitHub repo may point to a pre-release; use specific versions for stability.
- 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
```

## File tree
```
📦xray-ct-test
┣ 📂certs
┣ 📂config
┃ ┣ 📂caddy_config
┃ ┗ 📂xray_config
┗ 📜docker-compose.yaml
```

## Spin up the container
```bash
sudo docker-compose up -d
```

Made with ❤️ in Sweden! By xia1997x