Commit 1ffe358c authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Comunica filer con etcd para persistencia

parent f546c375
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
[etcd]
enabled = true
servers = "etcd:2379"
timeout = "3s"
+9 −0
Original line number Diff line number Diff line
@@ -72,6 +72,10 @@ services:
      seaweedfs-net:
    volumes:
      - filer-vol:/data
    configs:
      - source: filer-conf
        target: /etc/seaweedfs/filer.toml
        mode: 0755
    deploy:
      mode: global
      restart_policy:
@@ -168,3 +172,8 @@ volumes:

  etcd-vol:
    name: ${ETCD_VOL_NAME:-seaweedfs-etcd}

configs:
  filer-conf:
    name: ${FILER_CONF_NAME:-seaweedfs-filer-toml}
    file: ./config/filer.toml