summaryrefslogtreecommitdiffstats
path: root/setup/projects/web/vars/pods.yml
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-08-29 05:07:11 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-08-29 05:07:11 +0200
commit963221b9cab88846db37ad5efa658eeb39aada35 (patch)
treef270f59fd7226d89f60ca8eecad1a2b79173e0e4 /setup/projects/web/vars/pods.yml
parenta2bf14be3f6b24b8f0ab5adf9428483eae60d8d6 (diff)
downloadands-963221b9cab88846db37ad5efa658eeb39aada35.tar.gz
ands-963221b9cab88846db37ad5efa658eeb39aada35.tar.bz2
ands-963221b9cab88846db37ad5efa658eeb39aada35.tar.xz
ands-963221b9cab88846db37ad5efa658eeb39aada35.zip
Trac hosting (old and new); WebDAV service for KATRIN
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 }