You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.2 KiB
48 lines
1.2 KiB
6 years ago
|
version: '3.7'
|
||
|
services:
|
||
|
fastdfs-tracker:
|
||
|
image: season/fastdfs
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- /etc/timezone:/etc/timezone:ro
|
||
|
- /etc/localtime:/etc/localtime:ro
|
||
|
- /mnt/epdc/fdfs/tracker_data:/fastdfs/tracker/data
|
||
|
command: tracker
|
||
|
networks:
|
||
|
epdc_network:
|
||
|
ipv4_address: 172.19.0.30
|
||
|
|
||
|
fastdfs-storage:
|
||
|
image: season/fastdfs
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- /etc/timezone:/etc/timezone:ro
|
||
|
- /etc/localtime:/etc/localtime:ro
|
||
|
- /mnt/epdc/fdfs/storage_data:/fastdfs/storage/data
|
||
|
- /mnt/epdc/fdfs/store_path:/fastdfs/store_path
|
||
|
environment:
|
||
|
TRACKER_SERVER: 172.19.0.30:22122
|
||
|
command: storage
|
||
|
networks:
|
||
|
epdc_network:
|
||
|
ipv4_address: 172.19.0.31
|
||
|
|
||
|
fastdfs-nginx:
|
||
|
image: season/fastdfs
|
||
|
restart: always
|
||
|
volumes:
|
||
|
- /etc/timezone:/etc/timezone:ro
|
||
|
- /etc/localtime:/etc/localtime:ro
|
||
|
- /mnt/epdc/fdfs/nginx/nginx.conf:/etc/nginx/conf/nginx.conf
|
||
|
- /mnt/epdc/fdfs/store_path:/fastdfs/store_path
|
||
|
environment:
|
||
|
TRACKER_SERVER: 172.19.0.30:22122
|
||
|
command: nginx
|
||
|
networks:
|
||
|
epdc_network:
|
||
|
ipv4_address: 172.19.0.32
|
||
|
|
||
|
networks:
|
||
|
epdc_network:
|
||
|
external: true
|