A quick xray setup for connecting to the internet using Marzban dashboard for management and Cloudflare DNS.
Before you begin, ensure you have met the following requirements:
- Docker
- Python
To install the project, follow these steps:
- Copy the
.env.example
file to.env
and change the required variables. - Run
docker-compose up -d
to start the application.
To use the project, follow these steps:
- If you want to prevent your sub-domain from getting filtered, add
python3 filter.py
to your crontab. - To run
filter.py
, you need to install thedotenv
package. You can install it using either of the following commands:pip install dotenv
pip install python-dotenv
To contribute to the project, follow these steps:
- Fork this repository.
- Create a branch:
git checkout -b feature/feature-name
- Make your changes and commit them:
git commit -m 'Add some feature'
- Push to the feature branch:
git push origin feature/feature-name
- Create a pull request.
This project is licensed under the MIT License - see the LICENSE
file for details. You are free to use, modify, and distribute the code as you see fit, as long as you include a copy of the license in your distribution.