web

Форк
0

5 дней назад
5 дней назад
5 дней назад
5 дней назад
5 дней назад
5 дней назад
README.md

Smart Infrastructure Management Center

Description

A centralized management system for VPNs, proxies, bots, and other infrastructure components with a web interface for monitoring, managing, and configuring services.

Technology Stack

  • Backend: Laravel
  • Frontend: React + Next.js
  • Database: PostgreSQL/MySQL
  • VPN/Proxy: Xray, Shadowsocks, WireGuard
  • Monitoring: Prometheus + Grafana
  • CI/CD: Yandex Cloud
  • Containerization: Docker

Prerequisites

  • Docker and Docker Compose installed
  • Yandex Cloud account (or preferred cloud provider)
  • Docker Hub account for image storage

Setup Instructions

  1. Clone the Repository:

    bash git clone https://github.com/yourusername/smart-infra-management.git cd smart-infra-management

  2. Configure Environment Variables:

    • Duplicate
      .env.example
      files in
      backend/
      and
      frontend/
      directories and update with your configurations.
  3. Build and Run Containers:

    bash docker-compose up -d --build

  4. Access the Applications:

  5. Initial Laravel Setup:

    • Enter the backend container:
      bash docker exec -it backend bash
    • Generate application key:
      bash php artisan key:generate
    • Run migrations:
      bash php artisan migrate
  6. Configure VPN/Proxy Services:

    • Update configuration files in
      vpn-proxy/
      directory with your desired settings and credentials.
  7. Set Up Monitoring Dashboards:

    • Access Grafana and import predefined dashboards or create new ones as per your requirements.

Troubleshooting

  • Containers Not Starting:

    • Check logs for each service:
      bash docker-compose logs service_name
  • Database Connection Issues:

    • Ensure database credentials in
      .env
      files match the
      docker-compose.yml
      configurations.
  • Port Conflicts:

    • Verify that the ports specified in
      docker-compose.yml
      are not in use by other applications.
  • VPN/Proxy Services Not Responding:

    • Check configuration files and ensure the correct ports are open and mapped.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

License

MIT

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.