summaryrefslogtreecommitdiffstats
path: root/setup/projects/web/vars/pods.yml
diff options
context:
space:
mode:
Diffstat (limited to 'setup/projects/web/vars/pods.yml')
-rw-r--r--setup/projects/web/vars/pods.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/setup/projects/web/vars/pods.yml b/setup/projects/web/vars/pods.yml
new file mode 100644
index 0000000..a7797b8
--- /dev/null
+++ b/setup/projects/web/vars/pods.yml
@@ -0,0 +1,38 @@
+builders:
+ apache: { type: Source, image: "php:latest", src: "{{ ands_repos.docker }}/simplephp.git" }
+ trac0: { name: "trac", src: "{{ ands_repos.docker }}/trac.git", src_path: "0.10", version: "0.10" }
+ trac: { name: "trac", src: "{{ ands_repos.docker }}/trac.git", src_path: "latest", version: "latest" }
+
+pods:
+ web-kopmann:
+ service: { host: "web-kopmann.{{ openshift_master_default_subdomain }}", ports: [ 80/8080 ] }
+ sched: { replicas: 1 }
+ groups: [ "web_kopmann" ]
+ images:
+ - stream: "apache:latest"
+ mappings:
+ - { name: "web_data", path: "kopmann", mount: "/opt/app-root/src" }
+ probes:
+ - { port: 8080 }
+ trac-adei:
+ service: { host: "trac-adei.{{ openshift_master_default_subdomain }}", ports: [ 80/8080 ] }
+ sched: { replicas: 1 }
+ groups: [ "web_trac", "web_auth" ]
+ images:
+ - stream: "trac:0.10"
+ mappings:
+ - { name: "web_etc", path: "auth", mount: "/auth" }
+ - { name: "web_data", path: "trac/adei/", mount: "/trac/adei" }
+ probes:
+ - { port: 8080 }
+ trac-pdv:
+ service: { host: "trac-pdv.{{ openshift_master_default_subdomain }}", ports: [ 80/8080 ] }
+ sched: { replicas: 1 }
+ groups: [ "web_trac", "web_auth" ]
+ images:
+ - stream: "trac:latest"
+ mappings:
+ - { name: "web_etc", path: "auth", mount: "/auth" }
+ - { name: "web_data", path: "trac/pdv", mount: "/trac" }
+ probes:
+ - { port: 8080 }