`WHOAMI_PORT_NUMBER` has no effect
chris-aeviator opened this issue · comments
running
version 3
services:
fake-service:
image: traefik/whoami
environment:
- 'WHOAMI_PORT_NUMBER=3993'
will still bring up
fake-service_1 | Starting up on port 80
Hello,
I think it's because you are not using the right version, I recommend using an explicit version because the management of the latest
tag (no tag means latest
) by Docker can be surprising.
version: '3.7'
services:
fake-service:
image: traefik/whoami:v1.7.1
environment:
- 'WHOAMI_PORT_NUMBER=3993'
$ docker-compose up
issue-traefik-fake-service-1 | 2022/01/08 14:00:18 Starting up on port 3993