summaryrefslogtreecommitdiffstats
path: root/setup/projects/kaas/vars/pods.yml
blob: eacb6f487cd912fb9bb73d534d7b78aeebd1f208 (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
builders:
  kaas-manager: { src: "{{ ands_repos.docker }}/management.git" }
  kaas-webdav:  { src: "{{ ands_repos.docker }}/apache.git", src_path: "2.4", args: { ENABLE_DAV: 1 } }
  kaas-apache:  { src: "{{ ands_repos.docker }}/apache.git", src_path: "2.4", args: { ENABLE_PHP: 1 } }

pods:
  ands:
      service: { host: "ands.{{ openshift_master_default_subdomain }}", ports: [ 80/8080 ] }
      sched: { replicas: 1 }
      images:
        - stream: "kaas/kaas-apache:latest"
          mappings: 
            - { name: "etc",   path: "ands", mount: "/var/www/html" }
            - { name: "data",  path: "repos", mount: "/var/www/html/repos" }
            - { name: "tmp",   path: "ands", mount: "/var/www/html/logs" }
          probes:
            - { port: 8080, path: 'kickstart/config.php' }
  kaas-router:
      service: { host: "{{ katrin_node }}", ports: [ 80/8080, 443/8043 ] }
      sched: { replicas: 0, restrict: { master: "1" } }
      images:
        - image: "httpd:2.2"
        
          mappings: 
            - { name: "etc",  path: "apache2", mount: "/usr/local/apache2/conf" }
            - { name: "data", path: "www",     mount: "/usr/local/apache2/htdocs" }
            - { name: "tmp",  path: "apache2", mount: "/usr/local/apache2/logs" }
          probes:
            - { port: 8080, path: '/index.html' }