onaci / docker-plugin-seaweedfs

A Docker Volume plugin creating swarm-wide volumes - using Seaweedfs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to use custom configuration values?

pedroetb opened this issue · comments

Configuration values are customizable?

I mean values from variables like HOST: https://github.com/onaci/docker-plugin-seaweedfs/blob/seaweedfs-2.24/config.json#L19

Tried using environment variables but it didn't work. In this config file, HOST variable is defined like localhost:8888, but when running the plugin is quering at filer:8888 (and I need to change this hostname).

Creating a volume using swarm driver produces errors like this:

Error response from daemon: create test-vol: VolumeDriver.Create: Post "http://filer:8888/docker-seaweedfs-plugin/test-vol/json": dial tcp: lookup filer: Try again