fastdfs

version: '3.3'
services:

  tracker:
    container_name: tracker
    image: shunzi115/fastdfs:latest
    restart: always
    privileged: true
    ports:
      - 22122:22122
    environment:
      TZ: Asia/Shanghai
      TRACKER_SERVER: "9.110.187.111:22122"
    command: tracker
    networks:
      tts-network:

  storage:
    container_name: storage
    image: shunzi115/fastdfs:latest
    restart: always
    privileged: true
    ports:
      - 8888:8888
      - 23000:23000
    environment:
      TZ: Asia/Shanghai
      TRACKER_SERVER: "9.110.187.111:22122"
    volumes:
      - /opt/fdfs/data/:/var/fdfs/
    command: storage
    networks:
      tts-network:
networks:
  tts-network:


posted @ 2024-11-05 14:16  一毛丶丶  阅读(3)  评论(0编辑  收藏  举报