47 lines
1.1 KiB
YAML
47 lines
1.1 KiB
YAML
version: '3'
|
|
services:
|
|
tracker:
|
|
image: harbor.sino-assist.com/season/fastdfs:1.2
|
|
container_name: tracker
|
|
network_mode: host
|
|
restart: always
|
|
volumes:
|
|
- "./tracker_data:/fastdfs/tracker/data"
|
|
# ports:
|
|
# - "22122:22122"
|
|
command: "tracker"
|
|
|
|
storage:
|
|
image: harbor.sino-assist.com/season/fastdfs:1.2
|
|
container_name: storage
|
|
network_mode: host
|
|
# links:
|
|
# - tracker
|
|
restart: always
|
|
volumes:
|
|
- "./storage.conf:/fdfs_conf/storage.conf"
|
|
- "./storage_base_path:/fastdfs/storage/data"
|
|
- "./store_path0:/fastdfs/store_path"
|
|
#ports:
|
|
# - "23000:23000"
|
|
environment:
|
|
TRACKER_SERVER: "192.168.1.204:22122"
|
|
command: "storage"
|
|
|
|
nginx:
|
|
image: harbor.sino-assist.com/season/fastdfs:1.2
|
|
container_name: fdfs-nginx
|
|
network_mode: host
|
|
restart: always
|
|
volumes:
|
|
- "./nginx.conf:/etc/nginx/conf/nginx.conf"
|
|
- "./store_path0:/fastdfs/store_path"
|
|
# links:
|
|
# - tracker
|
|
# ports:
|
|
# - "8088:8088"
|
|
environment:
|
|
TRACKER_SERVER: "192.168.1.204:22122"
|
|
command: "nginx"
|
|
|