Powered by Cookiecutter, Cookiecutter farmOS Docker Site is intended to be used by farmOS developers to create farmOS docker sites based on custom images.
- pipx: A handy tool for installing and running Python applications.
- Docker: For containerization and easy deployment.
- pipx
pip install pipx- Docker
Visit the official documentation for installation guides.
pipx run cookiecutter gh:collective/cookiecutter-farmosThen select the farmOS Docker Site template.
Note: While not required, you will likely want to run these cookiecutter templates first:
farmOS Site ConfigfarmOS Contrib Moduleso they can be included in yourfarmOS Docker Siteimage.
Every project is unique, and we provide a variety of options to ensure that your farmOS project aligns with your specific needs. Here are the options you can customize during the generation process:
| Option | Description | Example |
|---|---|---|
project_title |
Your project's human-readable name, capitals and spaces allowed. | farmOS Site |
description |
Describes your project and gets used in places like README.md and such. |
New site for our company. |
project_slug |
Your project's slug without spaces. Used to name your repository and Docker images. | farmos-site |
production_hostname |
Hostname where the project will be deployed. | farmos.example.com |
testing_hostname |
Hostname where the project will be deployed. | farmtest.example.com |
development_hostname |
Hostname where the project will be deployed. | farmdev.example.com |
author |
This is you! The value goes into places like LICENSE, setup.py and such. |
Our Company |
email |
The email address you want to identify yourself in the project. | email@example.com |
farmos_release_version |
farmOS version to be used. This queries for the latest available farmOS version and presents it to you as the default value. | 3.3.3 |
farmos_branch_version |
farmOS version to be used. This queries for the latest available farmOS version and presents it to you as the default value. | 3.x |
farm_site_config_name |
The email address you want to identify yourself in the project. | farm_site_config |
farm_contrib_module_name |
The email address you want to identify yourself in the project. | farm_contrib_module |
github_organization |
Used for GitHub and Docker repositories. | farmOS |
container_registry |
Container registry to be used. | GitHub |
devops_traefik_node_label |
The label of the Docker Swarm node running Traefik | traefikapp |
devops_farmos_node_label |
The label of the Docker Swarm node running farmOS | farmosapp |
devops_traefik_stack_name |
The Docker Swarm stack name running Traefik | traefik |
devops_farmos_production_stack_name |
The Docker Swarm stack name running farmOS Production | **{{ cookiecutter.hostname |
devops_farmos_testing_stack_name |
The Docker Swarm stack name running farmOS Testing | **{{ cookiecutter.testing_hostname |
devops_farmos_development_stack_name |
The Docker Swarm stack name node running farmOS Development | **{{ cookiecutter.development_hostname |
devops_traefik_public_network |
The Docker network running Traefik | traefik-public |
devops_farmos_private_network |
The Docker Swarm network running farmOS | farmos-private |
This project is licensed under the MIT License.
Happy coding!