Dear Ivy team, We are following this guideline to override global variables in order to dockerize our ivy engine. But there is a problem, if the variable key contains underscores (For example: ch_xpertline_luz_support_username), the ivy will replace all underscores by dots !!

Do you have any idea that helps us to overcome this situation? Thank you!

asked 14.11.2019 at 06:02

an_nguyen's gravatar image

an_nguyen
(suspended)
accept rate: 0%


the app.yaml could be used as an alternative if environments can't be used due to their name restrictions: https://answers.axonivy.com/questions/4162/docker-global-variables-app-yaml

link

answered 14.11.2019 at 14:20

Reguel%20Wermelinger's gravatar image

Reguel Werme... ♦♦
9.4k31958
accept rate: 70%

edited 14.11.2019 at 14:21

Hi Reguel, thanks for your answer! So you meant there is no way to set global vars that contain underscores by env?. We would like to use env in order to make different profiles when running docker images. Seems that we have to mount the app.yaml file as external references and have different files for dev, staging, test and prod... How do you think?

(14.11.2019 at 20:33) an_nguyen an_nguyen's gravatar image
1

uh. seems like a bug to me in the core (XIVY-3436). anyway. I think the yaml approach fits the most use cases. you should always prefer this.

read more about it here: https://answers.axonivy.com/questions/3817/docker-global-properties-placeholder-app-yaml

(18.11.2019 at 02:24) Alex Suter ♦♦ Alex%20Suter's gravatar image

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×20
×6

Asked: 14.11.2019 at 06:02

Seen: 1,696 times

Last updated: 18.11.2019 at 02:45