v2ray-docker-compose
v2ray-docker-compose copied to clipboard
Setup script
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
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)
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
Also, adding others protocols like trojan and vless would be great too.
I think we should create something like x-ui I can make the template with next or html