Hi there!
one question:
is there any possibility to run multiple instances of a service but with different configuration (e.g. IP)
docker-compose.yml:
…
services:
cardtermsim:
image: docker-registry:5000/testnetz/cardtermsim
networks:
konnektor_lan:
ipv4_address: “${CARDTERMSIM_IP}”
networks:
konnektor_lan:
…
in order to get cardtermsim startet multiple times but with a unique IP (each time given a different IP via ${CARDTERMSIM_IP}.
The scale-option doesn’t seem to fit 'cos it started all instances in one fell swoop.
I don’t want to specify hard-wired a service cardtermsim1, cardtermsim2, … because the number of instances are dynamically set by a Jekins-Job
Any Ideas?
Thx
Marko
Docker Version 3.17 on Debian