mirror of
https://git.oceanpay.cc/danial/kami_ticket_slide_server.git
synced 2025-12-18 11:11:03 +00:00
master
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.
Ticket Slide Server
Docker部署说明
前提条件
- 安装 Docker
- Install Docker Compose (https://docs.docker.com/compose/install/)
部署步骤
-
克隆或下载项目代码到服务器
-
进入项目目录
cd ticket_slide_server -
构建并启动Docker容器
docker-compose up -d -
查看容器运行状态
docker-compose ps
配置说明
- 服务默认在99端口运行,可以通过修改
config.txt文件更改端口 - 修改配置后需要重启容器:
docker-compose restart
API使用
访问API:http://服务器IP:99/api/TX?aid=<aid>&host=<host>
可选参数:
ip: 代理IP地址
日志查看
docker-compose logs -f
停止服务
docker-compose down
Description
Languages
JavaScript
55%
Python
44.3%
Dockerfile
0.7%