# Where the answer.txt is coming from?

**URL:** <https://forums.suse.com/t/where-the-answer-txt-is-coming-from/2011>\
**Category:** Rancher 1.x\
**Created:** [March 12, 2016, 9:23am UTC](https://forums.suse.com/t/where-the-answer-txt-is-coming-from/2011 "2016-03-12T09:23:37Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![hwinkel](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/hwinkel/32/951_2.png) [@hwinkel](https://forums.suse.com/u/hwinkel)\
**Post date:** [March 12, 2016, 9:23am UTC](https://forums.suse.com/t/where-the-answer-txt-is-coming-from/2011/1 "2016-03-12T09:23:38Z")

</div>

When creating a stack, where the answers.txt is coming from, can’t see them in the catalog in example

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [March 12, 2016, 2:45pm UTC](https://forums.suse.com/t/where-the-answer-txt-is-coming-from/2011/2 "2016-03-12T14:45:58Z")

</div>

From the questions/form inputs.

---

<div class="post-metadata">

**Author:** ![hwinkel](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/hwinkel/32/951_2.png) [@hwinkel](https://forums.suse.com/u/hwinkel)\
**Post date:** [March 13, 2016, 4:19pm UTC](https://forums.suse.com/t/where-the-answer-txt-is-coming-from/2011/3 "2016-03-13T16:19:04Z")

</div>

aha, OK and the answers are saved in the Rancher Meta Data I assume and shown as answers.txt in the UI

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [March 13, 2016, 5:58pm UTC](https://forums.suse.com/t/where-the-answer-txt-is-coming-from/2011/4 "2016-03-13T17:58:41Z")

</div>

They are passed to rancher-compose as environment variables and it does the substitution before creating the services.

---

<div class="post-metadata">

**Author:** ![Chris44000](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/chris44000/32/5079_2.png) [@Chris44000](https://forums.suse.com/u/Chris44000)\
**Post date:** [April 17, 2019, 1:39pm UTC](https://forums.suse.com/t/where-the-answer-txt-is-coming-from/2011/6 "2019-04-17T13:39:56Z")

</div>

Hello,  
Do you know if there is a way to get filled automaticaly the questions ?  
For example, if I want to deploy the same project in distincts environments like DEV, PREPROD, PROD. I would have a 3 catalogs, each one with his own env. variables.

maybe, with answers.txt in each environment (dev/, preprod/, prod/) or in each version ( dev/0/, dev/1, etc.)

example if answers.txt in each environment :

/projecs

- /dev  
– /0  
— docker-compose.yml  
— rancher-compose-yml  
– /1  
— docker-compose.yml  
— rancher-compose-yml  
— catalogIcon-entry.svg  
– config.yml  
– answers.txt
- /preprod  
– /0  
— docker-compose.yml  
— rancher-compose-yml  
– /1  
— docker-compose.yml  
— rancher-compose-yml  
– catalogIcon-entry.svg  
– config.yml  
– answers.txt
- prod  
– /0  
— docker-compose.yml  
— rancher-compose-yml  
– /1  
— docker-compose.yml  
— rancher-compose-yml  
— catalogIcon-entry.svg  
– config.yml  
– answers.txt

---

<div class="post-metadata">

**Author:** ![vincent](https://sea2.discourse-cdn.com/flex022/user_avatar/forums.suse.com/vincent/32/7156_2.png) [@vincent](https://forums.suse.com/u/vincent)\
**Post date:** [April 18, 2019, 6:09am UTC](https://forums.suse.com/t/where-the-answer-txt-is-coming-from/2011/7 "2019-04-18T06:09:01Z")

</div>

No; questions can have a default in them but there’s no separate answers file reading.
