Devilbox Flames are pure user-contributed Docker Compose projects and this will only work if we all contribute in one way or another.
Table of Contents
Copy desired Flames to your Devilbox setup and start making use of it. Do report back any issues you've encountered to ensure we all know about it.
- Join the Devilbox Forums for questions and to support others
- Join the Devilbox Chat for questions and to support others
- Submit proposed Devilbox Flames through a pull request
- Enhance or fix Devilbox Flames through a pull request
- Star this project
For general information and discussions see the initial forum post where this project has been born.
A Devilbox Flame resides in the flames/
directory with the following directory structure:
.
└── <flame name>
├── autostart/
├── cfg/
├── docker-compose.override.yml
├── env-example
├── meta.yml
└── README.md
File / Dir | Required | Comment |
---|---|---|
autostart/ |
No | This optional directory contains autostart scripts required for the Flame to run during Devilbox startup. (Devilbox autostart) |
cfg/ |
No | This optional directory contains subdirectories with configuration files required for the Flame's configuration. |
docker-compose.override.yml |
Yes | The Docker Compose override file to be added to the Devilbox. |
env-example |
Yes | The Docker Compose variable file containing all variable for the flame to be added to .env. |
meta.yml |
Yes | The Flame definition file (see below). |
README.md |
Yes | The Flame Readme with documentation. |
Note: In doubt, have a look at the existing Flames and see how they have organized.
(This is optional and most likely not needed for basic Flames)
Get familiar with the Devilbox autostart behaviour to understand what this is about:
- https://devilbox.readthedocs.io/en/latest/autostart/custom-scripts-globally.html
- https://devilbox.readthedocs.io/en/latest/autostart/custom-scripts-per-php-version.html
(This is optional and most likely not needed for basic Flames)
Add version specific (if your Flame supports different versions) configuration directories which will be mounted via docker-compose.override.yml
and define settings for your Flame.
Get familiar with Docker Compose override:
Get familiar with the .env
file:
The meta.yml
file is required for automated processing of the project. Below is the needed structure:
---
devilbox_info:
name: The project name
description: The project description
author: The author name
github: author github handle
license: MIT
min_devilbox_version: v1.0.1
tags:
- tag1
- tag2
This is your Flames main Readme file that documents what it is about, usage, variables and other settings.
To ensure your submitted Flame will pass basic CI tests, run the following command locally:
make lint