danial 4578fdf7fa ci: add Drone CI configuration for build and deployment
This commit introduces a new Drone CI configuration file (.drone.yml) to automate the build and deployment process. The pipeline includes steps for building Docker images, tagging them, and deploying them to a specified server. The configuration triggers on push events to the develop and production branches.
2025-04-07 23:00:19 +08:00
2024-12-23 09:47:07 +08:00
2024-12-23 09:47:07 +08:00
2024-12-23 09:47:07 +08:00
2024-12-23 09:47:07 +08:00
2024-12-23 09:47:07 +08:00
2024-12-23 09:47:07 +08:00

Ticket Slide Server

Docker部署说明

前提条件

部署步骤

  1. 克隆或下载项目代码到服务器

  2. 进入项目目录

    cd ticket_slide_server
    
  3. 构建并启动Docker容器

    docker-compose up -d
    
  4. 查看容器运行状态

    docker-compose ps
    

配置说明

  • 服务默认在99端口运行可以通过修改config.txt文件更改端口
  • 修改配置后需要重启容器:docker-compose restart

API使用

访问APIhttp://服务器IP:99/api/TX?aid=<aid>&host=<host>

可选参数:

  • ip: 代理IP地址

日志查看

docker-compose logs -f

停止服务

docker-compose down
Description
No description provided
Readme 57 KiB
Languages
JavaScript 55%
Python 44.3%
Dockerfile 0.7%