Created
October 5, 2016 19:46
-
-
Save eriknelson/f47ae7da71ad9d446a48f4a4b762afd4 to your computer and use it in GitHub Desktop.
Simple nulecule bindings
This file contains hidden or 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
--- | |
specversion: 0.0.2 | |
id: wordpress-atomicapp | |
metadata: | |
name: Wordpress App | |
appversion: 2.0.0 | |
description: Simple Wordpress atomic app. Uses remote mysql atomic app. | |
location: docker.io/projectatomic/wordpress-centos7-atomicapp | |
params: | |
- name: provider | |
description: The specified default provider. | |
default: kubernetes | |
graph: | |
- name: db | |
accepts: | |
- nulecule: mariadb-centos7-atomicpp | |
- nulecule: postgres-atomicapp | |
source: docker://projectatomic/mariadb-centos7-atomicapp | |
- name: wordpress | |
params: | |
- name: image | |
description: wordpress image | |
default: wordpress | |
- name: db_user | |
description: username for database | |
- name: db_pass | |
description: password for db_user | |
- name: db_name | |
description: database name | |
- name: db_host | |
description: database host | |
default: mariadb:3306 | |
- name: hostport | |
description: port for port mapping (used with docker/marathon providers) | |
default: 8888 | |
artifacts: | |
kubernetes: | |
- file://artifacts/kubernetes/wordpress-pod.yaml | |
- file://artifacts/kubernetes/wordpress-service.yaml | |
openshift: | |
- file://artifacts/openshift/volume.yaml | |
- file://artifacts/openshift/service.yaml | |
- file://artifacts/openshift/pod.yaml | |
docker: | |
- file://artifacts/docker/wordpress-run | |
marathon: | |
- file://artifacts/marathon/wordpress.json | |
bindings: | |
db::db_user: | |
- nulecule: wordpress | |
key: db_user | |
- nulecule: postgres-centos7-atomicapp | |
key: db_user | |
- nulecule: mariadb-centos7-atomicapp | |
key: db_userrr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment