troykinsella / concourse-docker-compose-resource

A Concourse CI resource that executes docker-compose against a remote host

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Passing parameters/environment variables to docker-compose

hamez99 opened this issue · comments

I am trying to set up a Concourse pipeline that uses this resource type to deply to my dev/test environment after a successful build. However, my docker-compose file has some environment variables declared to pass into the containers when started, and i'm not seeing how that's done with either this resource type or concourse in general. From what I can tell from the documentation, the resource type has to explicitly declare the environment variables it will accept from the pipeline. Is this a feature that would need to be added or is there something i'm missing?

This resource doesn't attempt to pass in any environment variables to the docker-compose execution, so that is definitely a welcome feature addition.

Attempting to address this with PR #2

Works like a charm. Thanks!