nanobox icon indicating copy to clipboard operation
nanobox copied to clipboard

Feature request: imports/includes in boxfile.yml

Open kristoftorfs opened this issue 8 years ago • 1 comments
trafficstars

It would be convenient to have reusable yaml files to include in our boxfile.yml. Preferably even separated per alias (local, dry-run, prod, ...) and allowing online files (e.g. from GitHub repositories) so they can be kept in source control.

An example:

imports:
  all:
    - https://raw.githubusercontent.com/my-user/my-rep/master/symfony.yml
  local:
    - https://raw.githubusercontent.com/my-user/my-rep/master/mailcatcher.yml

run.config:
  engine: php
  engine.config:
    runtime: php-7.1
    webserver: nginx
    document_root: web
    ...

kristoftorfs avatar Sep 23 '17 05:09 kristoftorfs

+1 - our use case is to keep all of our cron jobs in a separate yaml file to keep potential issues out of the main boxfile, when adding new crons.

vigandhi avatar Jun 25 '18 12:06 vigandhi