Upload file to Convoy Gluster

Hi,

I need run some docker image with .yml config. For that reason I did:

  1. Launch Gluster FS
  2. Launch Convoy Gluster

Now before “Launch Service” I need upload .yml config to Convoy Gluster volume, how can I do that?

I can connect to “glusterfs-server” and check volume info, but not found yet how create file that will be replicated.

[root@glusterfs_glusterfs-server_1 /]# gluster volume info

Volume Name: my_vol
Type: Replicate
Volume ID: 7f3390e9-98e5-4d97-b377-ad6495d5b321
Status: Started
Number of Bricks: 1 x 3 = 3
Transport-type: tcp
Bricks:
Brick1: 10.42.152.122:/data/glusterfs/brick1/my_vol
Brick2: 10.42.220.135:/data/glusterfs/brick1/my_vol
Brick3: 10.42.220.198:/data/glusterfs/brick1/my_vol
Options Reconfigured:
performance.readdir-ahead: on

Its important to note that one *gluster volume" will contain many docker volumes. So, if you docker run --volume-driver convoy-gluster -v vol1:/abc -v vol2:/xyz ..., but vol1 and vol2 will be created on that gluster volume.

To answer your question, we don’t provide a way to interactively upload files to docker volumes. A script in your container (or in a sidekick of the container) would have to download the file when the container was started.

I need run service (few instances) of api-umbrella container, that require config file for each container. All containers will have equal “api-umbrella.yml” file, what the right way for manage that task when work with Rancher?

Any advice or example of similar tasks?

Thanks!