You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
Currently all the environment variables that needs to be set on the application services are NOT prefixed. This could cause some collision with some other configurations.
For example, you specify we need to use the generic "OPTION" environment variable to set custom options.
I'd suggest to add something like SERVICE_ENV_PREFIX (or some other name), which could be empty by default to ensure backward compatiblity.
This way one could set SERVICE_ENV_PREFIX="HAPROXY_" on the dockercloud/haproxy service, and then set backend configuration using prefixed environment variables like HAPROXY_VIRTUAL_HOST instead of VIRTUAL_HOST.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Currently all the environment variables that needs to be set on the application services are NOT prefixed. This could cause some collision with some other configurations.
For example, you specify we need to use the generic "OPTION" environment variable to set custom options.
I'd suggest to add something like SERVICE_ENV_PREFIX (or some other name), which could be empty by default to ensure backward compatiblity.
This way one could set SERVICE_ENV_PREFIX="HAPROXY_" on the dockercloud/haproxy service, and then set backend configuration using prefixed environment variables like HAPROXY_VIRTUAL_HOST instead of VIRTUAL_HOST.
The text was updated successfully, but these errors were encountered: