v2ray-docker-compose icon indicating copy to clipboard operation
v2ray-docker-compose copied to clipboard

Setup script

Open amirrezaask opened this issue 2 years ago • 2 comments

It would be nice if we include a setup script for easy setup so for new users we do something like

curl github.com/miladrahimi/v2ray-docker-compose/tree/master/setup.sh | bash

script should:

  • check if docker and docker-compose are installed, if not abort.
  • ask for bridge mode or upstream mode.
  • asks users for UUID and provides default behavior for generating one.
  • format config file with appropriate values
  • ask the user whether to start serving or not

Or we can do a different approach and do a client side script that will take two ips as bridge and upstream and setup servers using ssh itself, it's the most user friendly and easy way

amirrezaask avatar Oct 20 '22 22:10 amirrezaask

I'm working on this for my self: https://github.com/ohmydevops/v2ray-ansible, but I think Ansible is not suitable for this work. (It is against simplicity).

I can work on scripts for debian-based servers. (If @miladrahimi agrees)

ohmydevops avatar Oct 20 '22 22:10 ohmydevops

It would be nice if we include a setup script for easy setup so for new users we do something like

curl github.com/miladrahimi/v2ray-docker-compose/tree/master/setup.sh | bash

script should:

  • check if docker and docker-compose are installed, if not abort.
  • ask for bridge mode or upstream mode.
  • asks users for UUID and provides default behavior for generating one.
  • format config file with appropriate values
  • ask the user whether to start serving or not

Or we can do a different approach and do a client side script that will take two ips as bridge and upstream and setup servers using ssh itself, it's the most user friendly and easy way

  • add/remove Vmess clients (interactive)
  • export copy/pastable! configs strings

ohmydevops avatar Oct 20 '22 22:10 ohmydevops

Also, adding others protocols like trojan and vless would be great too.

mahmood8664 avatar Dec 07 '22 12:12 mahmood8664

I think we should create something like x-ui I can make the template with next or html

zoheirkabuli avatar Jan 04 '23 15:01 zoheirkabuli