Calling Developers!
We are reenergizing our code contribution process! Learn More

What are the Slack Archives?

It’s a history of our time together in the Slack Community! There’s a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.

Because this space is not active, you won’t be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..

Hello Everybody, I know that when I'm deploying the code to SaaS my config is read from config_defau

Options
U015HHFCU1M
U015HHFCU1M Posts: 81 🧑🏻‍🚀 - Cadet

Hello Everybody,
I know that when I'm deploying the code to SaaS my config is read from config_default-docker.php.
But, where should I add configurations specific to various environments like, DEV, STAGE/QA, PROD?

Comments

  • sprymiker
    sprymiker Cloud Platform Architect Sprykee Posts: 781 🧑🏻‍🚀 - Cadet
    Options

    In different deploy.ymls you can set different environment name. As example:

    environment: docker.staging

    Create file
    config_default-docker.staging.php

    <?php
    
    require 'config_default-docker.php';
    
    #YOUR STAGING SETTINGS
    
  • U015HHFCU1M
    U015HHFCU1M Posts: 81 🧑🏻‍🚀 - Cadet
    Options

    Ok. thanks let me try.