Skip to content

3. Environment variables setup

TecOrb Technologies edited this page Oct 5, 2022 · 1 revision

New file configuration.yml

Create configuration.yml file inside config directory to setup required environment variables

* Go to the config directory

* Create a new file with name configuration.yml

Required variables to define in configuration.yml

Here are the variables we need to define in this file:

DB_DEVELOPMENT: db_name_development

DB_DEVELOPMENT_USERNAME: database_username

DB_DEVELOPMENT_PASSWORD: database_password

DB_PRODUCTION: db_name_production

DB_PRODUCTION_USERNAME: database_username

DB_PRODUCTION_PASSWORD: database_password

DB_TEST: db_name_test

JWT_SECRET: jwt_secret_strong_xxxxxxxxxxxxxxxxxxxxxxx

MYSQL_SOCKET: /tmp/mysql.sock

ACTIONCABLE_BASE: https://your-frontend-application-endpoint

Clone this wiki locally