Skip to content

Latest commit

 

History

History
127 lines (85 loc) · 4.29 KB

CONTRIBUTING.md

File metadata and controls

127 lines (85 loc) · 4.29 KB

Contributing

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

Use Devilbox Flames

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.

Get involved

  • 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

Adding Devilbox Flames

For general information and discussions see the initial forum post where this project has been born.

Flame directory structure

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.

autostart/

(This is optional and most likely not needed for basic Flames)

Get familiar with the Devilbox autostart behaviour to understand what this is about:

cfg/

(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.

docker-compose.override.yml

Get familiar with Docker Compose override:

env-example

Get familiar with the .env file:

meta.yml

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

README.md

This is your Flames main Readme file that documents what it is about, usage, variables and other settings.

Test locally

To ensure your submitted Flame will pass basic CI tests, run the following command locally:

make lint