summaryrefslogtreecommitdiffstats
path: root/setup/projects/web/vars/pods.yml
blob: a7797b884eaccdd880df50ec49757db9d2a77560 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 }