3scale / apisonator

Red Hat 3scale API Management Apisonator backend
https://3scale.net
Apache License 2.0
36 stars 27 forks source link

THREESCALE-10649: Enable dotenv #358

Closed lvillen closed 5 months ago

lvillen commented 5 months ago

JIRA issue THREESCALE-10649

What this PR does dotenv gem has been added to facilitate the use of environment variables at development.

Verification steps Try to run apisonator worker adding the following env variables at your .env file:

CONFIG_INTERNAL_API_USER=MY_CONFIG_INTERNAL_API_USER
CONFIG_INTERNAL_API_PASSWORD=MY_CONFIG_INTERNAL_API_PASSWORD
CONFIG_QUEUES_MASTER_NAME=MY_CONFIG_QUEUES_MASTER_NAME
CONFIG_REDIS_PROXY=MY_CONFIG_REDIS_PROXY

Confirm that the worker runs.