Stack tags creation

Hello,

Is it possible to set stack tags in docker-compose.yml or rancher-compose.yml ?

(Rancher v1.6.18)

Thanks

I finally found that is not possible.

But I’ve found an alternative using curl and the Rancher API:

curl -u “${CATTLE_ACCESS_KEY}:${CATTLE_SECRET_KEY}”
-X PUT
-H ‘Accept: application/json’
-H ‘Content-Type: application/json’ \
-d ‘{“group”:“mytag”}’
http://rancher:8080/v2-beta/stacks/mystackid

If it can help somebody…

Byebye