spring-cloud-deployer-local
spring-cloud-deployer-local copied to clipboard
network deployer property has no effect
In a docker-compose local deployment, changing the property for docker network has no effect. Containers are always part of bridge and the never created. I've also tried creating the network manually before property setting but containers are never added to it.
Looking at org.springframework.cloud.deployer.spi.local.DockerCommandBuilder
, I see that the network is passed on the constructor. After putting a log at the end of the constructor I saw that the class is initialized immediately upon skipper start and the property is never updated after. I suspect that is the root of the issue.