What is the "Correct" way to set values in alfresco-global.properties with docker-compose?
I am using the Alfresco SDK, and everything seems to be working fine. I now need to move my stack from dev to test. So all of my hard coded values in the alfresco-platform-docker/src/main/docker/alfresco-global.properties need to change.
I know I could just write a script that switches out files before deploying, but I know that's not "right"
I want to be able to set these as environment variables that get injected at deploy time.
Any way to do this?
I found that adding properties under different profiles in the pom works fine, just build with the right profile and done. But again, I am asking for what alfresco considers the "correct" way
The above example requires you to have environemt specific docker-compose.yml file. On the same lines there is another better way, you would have one docker-compose.yml but you can use 'environment-file (--env-file)' with docker-compose to pass the environment specific variable file.