How To Keep Custom Variables During Upgrade¶
Users often have custom variables defined per their system, that are defined post-installation. These variables are kept in the docker-compose.yml.
To keep these custom variables during an upgrade procedure and avoid resetting them to default values, please follow these steps:
- Create a file named customer.env and place it in the - /usr/local/ericomshield/folder
- Add desired custom variables to this file. Syntax is: - export VAR_NAME="$value" 
- During the upgrade process, variables defined in customer.env file are used to replace default values 
Examples¶
- To use a custom subnet (different from Shield default one - 10.0.6.0) add this line to the file: - export SUB_NET="192.168.5.0/24" 
- To use a custom proxy (different from Shield default one - 3128) add this line to the file: - export SHIELD_PROXY_PORT="4456" 
For additional variables, please contact the Shield Professional Services team.