aboutsummaryrefslogtreecommitdiff
path: root/docker/docker-compose.yml
blob: 5e7d2e8b191b80de89ffca35224482c4ac7eaf58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
version: '2'

services:
  master:
    #image: chrislusf/seaweedfs # use a remote image
    build: . # build our container from the local Dockerfile
    ports:
    - 9333:9333
    command: "master"
    networks:
      default:
        aliases:
        - seaweed_master
  volume:
    #image: chrislusf/seaweedfs # use a remote image
    build: . # build our container from the local Dockerfile
    ports:
    - 8080:8080
    - 18080:18080
    command: 'volume -max=5 -mserver="master:9333" -port=8080'
    depends_on:
    - master
    networks:
      default:
        aliases:
        - seaweed_volume
  filer:
    #image: chrislusf/seaweedfs # use a remote image
    build: . # build our container from the local Dockerfile
    ports:
    - 8888:8888
    - 18888:18888
    command: 'filer -master="master:9333"'
    depends_on:
    - master
    - volume
    networks:
      default:
        aliases:
        - seaweed_filer