Skip to content

Per Process Environment Variables

toolmantim edited this page · 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
Something went wrong with that request. Please try again.