version: '3.4' services: lb: build: . environment: - APP_PORT=2001 - APP_NAME=whoami ports: - "8081:80" whoami: image: traefik/whoami command: # It tells whoami to start listening on 2001 instead of 80 - --port=2001