Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use environment variable in fig.yml #564

Closed
bargenson opened this issue Oct 20, 2014 · 3 comments
Closed

Use environment variable in fig.yml #564

bargenson opened this issue Oct 20, 2014 · 3 comments

Comments

@bargenson
Copy link

Hi everyone,

I have 4 different hosts, each of them running between 3 and 10 containers based on the same image. Each container is an agent for a Continuous Integration solution we use. That solution identify each agent to his hostname.
In order to troubleshoot easily when an issue occur, I want to define the domain name of my containers as bellow:

bambooAgent:
    domainname: ${HOSTNAME}

in order to have as final hostname something like:

c49d4b74cf30.mtl-myhost-vm1.

That way, I might be able to easily figure out on which host is running the guilty container and go inspect it.

Is there currently any way that I missed to use an host variable inside fig.yml?

@qustavo
Copy link

qustavo commented Oct 22, 2014

+1

@bfirsh
Copy link

bfirsh commented Oct 22, 2014

See #76.

@dnephin
Copy link

dnephin commented Sep 1, 2015

This was added in #1765

@dnephin dnephin closed this as completed Sep 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants