default Set<Integer> getLivenessCheckPortNumbers() {
        final Set<Integer> result = getExposedPorts()
            .stream()
            .map(this::getMappedPort)
            .distinct()
            .collect(Collectors.toSet());
        result.addAll(getBoundPortNumbers());
        return result;
    }
@return the ports on which to check if the container is ready
core/src/main/java/org/testcontainers/containers/wait/strategy/WaitStrategyTarget.java