Configure queues from environment variables