Per Process Environment Variables

toolmantim edited this page Feb 12, 2013 · 1 revision

All processes will inherit the environment variables set in your .env file, but if you want to set a process-specific environment variable use the env command in your Procfile:

worker_1: env QUEUE=1 rake worker
worker_2: env QUEUE=2 rake worker