Created
August 27, 2014 09:47
-
-
Save mountkin/e0bffbf597169548fc70 to your computer and use it in GitHub Desktop.
Service template draft
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: PHP_Apache | |
version: 5.5 | |
website: http://php.net | |
logo: https://cdn.rawgit.com/nicescale/stack-logos/130ce36b6df5b4f02c4e924378bfe79450e6f989/dist/php.png | |
doc_ref: http://www.php.net/docs.php | |
image: nicescale/apache_php:latest | |
category: runtime | |
recommends: | |
- name: mysql | |
- name: HAProxy | |
rel: connection | |
requires: | |
- name: data-relay | |
rel: connection | |
on_missing: | |
zh-CN: 您需要部署数据同步服务来上传代码和数据。 | |
en: To deploy codes you should add the data-relay service to this project. | |
connectable: | |
- name: DataRelay | |
- category: proxy | |
deploy_policy: | |
single: | |
cfs: apache_php_ubuntu | |
cluster: | |
all: | |
cfs: apache_php_ubuntu | |
requires: | |
- name: HAProxy | |
rel: connection | |
on_missing: | |
zh-CN: 您需要部署HAProxy充当负载均衡。 | |
en: HAProxy is required. | |
scale: | |
min: 1 | |
max: -1 | |
iaas_constraints: | |
instance: | |
min: | |
mem: 512 | |
cores: 1 | |
defaults: | |
mem: 1024 | |
cores: 2 | |
features: | |
- compute |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment