Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

data_report / data-report

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • data-report
  • data-process
  • docker-compose.yml
  • zhouhaibao's avatar
    docs(deployment): 添加数据处理模块CentOS 7部署指南 · 356b1e1d ...
    - 新增详细的CentOS 7部署文档(DEPLOYMENT.md),包含系统要求、环境准备、应用部署等章节
    - 添加Docker Compose配置文件,支持容器化部署
    - 创建Dockerfile,基于Python 3.11构建镜像
    - 在requirements.txt中新增numpy==1.26.4依赖
    - 文档涵盖MySQL 5.7、Nginx、Gunicorn等组件的完整安装配置流程
    - 提供systemd服务管理和日志轮转配置方案
    - 包含安全配置和故障排查指南
    zhouhaibao committed Aug 18, 2026
    356b1e1d
docker-compose.yml 477 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
version: '3.8'

services:
  data-process:
    build:
      context: .
      dockerfile: Dockerfile
    container_name: data-process
    ports:
      - "5000:5000"
    env_file:
      - .env.custom
    environment:
      - TZ=Asia/Shanghai
    volumes:
      - ./uploads:/app/uploads
      - /etc/localtime:/etc/localtime:ro
      - /etc/timezone:/etc/timezone:ro
    restart: unless-stopped
    network_mode: bridge
    extra_hosts:
      - "host.docker.internal:host-gateway"