devshop/platform
Composer 安装命令:
composer require devshop/platform
包简介
Ansible collection for hosting websites.
README 文档
README
The DevShop.Platform Ansible collection extends Ansible's reach to track applications and services, in addition to hosts and roles.
Components
- App Hosts.
- Ansible Hosts that refer to a single website, containing variables needed to deploy the site to one or many servers.
- Multiple App Hosts can be assigned to a single Server Host, similar to Apache Vhosts.
- App hosts store the Ansible facts/vars that are needed to install the site, such as Git repository, git reference, and web and database servers.
- App Hosts can run App Roles, such as
geerlingguy.drupalto finish set up of individual apps.
- Server Hosts.
- Ansible Hosts that refer to real servers.
- Server Hosts are assigned roles based on what "Service Groups" they are in.
- Server Host list variables (such as
apache_vhostsandmysql_databases) are aggregated from all App Hosts that are using each service to allow multiple App Hosts per Server.
- Service Groups.
- A Service Group is an Ansible Host Group that provides a list of roles that get assigned to all members of the group. The groups are used to organize your Server Hosts by purpose, such as Web or DB.
- See ./services/http.yml for an example.
- App Groups.
- An App Group contains default variables for App Hosts that are built from pre-defined apps such as Drupal.
- Each App Group can set different "build" or "install" commands, such as
composer installvs.npm buildordrush site-installvsapp install - See ./services/drupal.yml for an example.
Using this collection
See examples folder for samples implementations.
Code of Conduct
We follow the Ansible Code of Conduct in all our interactions within this project.
If you encounter abusive behavior, please refer to the policy violations section of the Code for information on how to raise a complaint.
Contributing to this collection
The content of this collection is made by people like you, a community of individuals collaborating on making the world better through developing automation software.
We are actively accepting new contributors.
Any kind of contribution is very welcome.
You don't know how to start? Refer to our contribution guide!
We use the following guidelines:
- CONTRIBUTING.md
- REVIEW_CHECKLIST.md
- Ansible Community Guide
- Ansible Development Guide
- Ansible Collection Development Guide
Collection maintenance
The current maintainers are listed in the MAINTAINERS file. If you have questions or need help, feel free to mention them in the proposals.
To learn how to maintain / become a maintainer of this collection, refer to the Maintainer guidelines.
Governance
The process of decision making in this collection is based on discussing and finding consensus among participants.
Every voice is important. If you have something on your mind, create an issue or dedicated discussion and let's discuss it!
Installing the Collection from Ansible Galaxy
Before using this collection, you need to install it with the Ansible Galaxy command-line tool:
ansible-galaxy collection install NAMESPACE.COLLECTION_NAME
You can also include it in a requirements.yml file and install it with ansible-galaxy collection install -r requirements.yml, using the format:
--- collections: - name: devshop.platform
Note that if you install the collection from Ansible Galaxy, it will not be upgraded automatically when you upgrade the ansible package. To upgrade the collection to the latest available version, run the following command:
ansible-galaxy collection install NAMESPACE.COLLECTION_NAME --upgrade
You can also install a specific version of the collection, for example, if you need to downgrade when something is broken in the latest version (please report an issue in this repository). Use the following syntax to install version 0.1.0:
ansible-galaxy collection install devshop.platform:==0.1.0
See Ansible Using collections for more details.
Release notes
See the changelog.
Roadmap
More information
- Ansible Collection overview
- Ansible User guide
- Ansible Developer guide
- Ansible Collections Checklist
- Ansible Community code of conduct
- The Bullhorn (the Ansible Contributor newsletter)
- Changes impacting Contributors
Licensing
GNU General Public License v3.0 or later.
See LICENSE to see the full text.
devshop/platform 适用场景与选型建议
devshop/platform 是一款 基于 Python 开发的 Composer 扩展包,目前已累计 605 次下载、GitHub Stars 达 3, 最近一次更新时间为 2023 年 02 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 devshop/platform 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 devshop/platform 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 605
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 14
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-02-25