Kunstmaan / skylab

Skylab is a 100% backwards compatible PHP port of the Python based hosting scripts used at Kunstmaan. By using the Cilex, Symfony Components and lot's of good code samples from the Composer project we hope to create an application where everyone in our organisation can work with, and if issues or new needed features should arise, be able to work on.
https://github.com/Kunstmaan/skylab
MIT License
11 stars 14 forks source link

apache config files per environment #171

Closed bakie closed 7 years ago

bakie commented 7 years ago

When adding the env variable to your skylab.yml config you can create apache config files per environment.

E.g. In skylab/config/apache.d config dir you create 07envs.prod, 07envs.staging and 07envs.dev. When you run skylab and you have env: dev in your skylab.yml configuration the 07envs.dev file will be included in the apache config. If you have env: staging, the staging one will be used.

If you don't configure the env variable in your skylab.yml configuraiton file, it will keep on working with .local files.