aboutsummaryrefslogtreecommitdiff
path: root/docker/compose/local-sync-mount-compose.yml
blob: fec866698378fdf44b65cd9ff7d7728635a79362 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
version: '3.9'
services:
  node1:
    image: chrislusf/seaweedfs:local
    command: "server -master -volume -filer"
  mount1:
    image: chrislusf/seaweedfs:local
    privileged: true
    command: "mount -filer=node1:8888 -dir=/mnt -dirAutoCreate"
  node2:
    image: chrislusf/seaweedfs:local
    ports:
      - 7888:8888
    command: "server -master -volume -filer"
  mount2:
    image: chrislusf/seaweedfs:local
    privileged: true
    command: "mount -filer=node2:8888 -dir=/mnt -dirAutoCreate"
  sync:
    image: chrislusf/seaweedfs:local
    command: "-v=4 filer.sync -a=node1:8888 -b=node2:8888 -a.debug -b.debug"