Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Allow some configuration through composer.json extra config #1

Open
geerlingguy opened this issue Apr 8, 2018 · 1 comment
Open

Comments

@geerlingguy
Copy link
Owner

I would like to allow a few settings to be configured through a Drupal project's composer.json extras config, e.g.:

    "extra": {
        "drupal-vm-docker": {
            "container_name": "custom-container-name",
            "http_port": "80",
            "https_port": "443",
        }
    }

Basic things like that which will be templated into the docker-compose.yml file. Or maybe do something else here, but basically I want a few configurable flags.

@frob
Copy link

frob commented May 30, 2018

I would be interested to see some DX review on this. I have always preferred per-project configuration to be in a separate file --such as config.yml. I have this preference because to start a new project I like to copy the composer.json and change the least amount of stuff possible.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants