I am trying to set multiple profiles for spring boot via docker using an env file like so
.env file
ENV=docker,test
docker-compose
environment:
- spring.profiles.active=${ENV}
this seems to cause spring boot to view docker,test as one string if I don't load the env var it works like this
docker-compose
environment:
- spring.profiles.active=docker,test
any ideas on how to fix this?