Easy Xray + xtls-vision + reality in Docker
Go to file
quackerd 4e041396df
fix
2020-06-09 10:49:48 +08:00
nginx/nginx/site-confs initial commit 2020-05-04 05:16:02 -04:00
v2ray initial commit 2020-05-04 05:16:02 -04:00
.gitignore Initial commit 2020-05-04 09:13:58 +00:00
LICENSE Initial commit 2020-05-04 09:13:58 +00:00
README.md Update 'README.md' 2020-05-04 10:01:46 +00:00
client.json rename 2020-06-09 10:41:01 +08:00
docker-compose.yml initial commit 2020-05-04 05:16:02 -04:00
example.conf update setup script 2020-06-03 18:37:33 +08:00
setup.py fix 2020-06-09 10:49:48 +08:00

README.md

v2ray-letsencrypt-docker

Clean, dockerized v2ray(Websocket + TLS) + Nginx + Let's Encrypt with official and well-maintained docker containers. No BS private containers.

Supports:

Usage:

Required packages

  • docker-ce.
  • docker-compose.
  • python-jinja2. A popular python template processor. Just search for jinja2 with your distro's package manager.

Building

  • Clone this repo.
  • Run python setup.py -h for directions.
  • For example, if your full domain name is aaa.bb.c and your email is d@e.f then run python setup.py -d bb.c -s aaa -e d@e.f
  • To start over, run git reset --hard. Don't run this with a running build or you will lose your existing config!

README!

  • Do NOT run the python script as root or Nginx won't start.

Connecting

After spinning up all the containers, you can use client.conf to connect. If you are setting it up on your phone, connect to subdomain.domain.tld:443 and use websocket obfuscation.

Troubleshooting

  • Make sure your subdomain.domain.tld points to the server.
  • Use docker logs nginx to check for nginx init errors. Detailed nginx logs and be found in nginx/logs/nginx
  • Use docker logs v2ray to check for v2ray init errors.