summaryrefslogtreecommitdiff
path: root/group_vars/ickhost.yml
diff options
context:
space:
mode:
Diffstat (limited to 'group_vars/ickhost.yml')
-rw-r--r--group_vars/ickhost.yml51
1 files changed, 50 insertions, 1 deletions
diff --git a/group_vars/ickhost.yml b/group_vars/ickhost.yml
index c33d718..a92b3a2 100644
--- a/group_vars/ickhost.yml
+++ b/group_vars/ickhost.yml
@@ -8,17 +8,19 @@ debian_mirror_src: deb.debian.org
ci_prefix: ""
sources_lists:
+ - repo: "deb http://deb.debian.org/debian stretch-backports main"
- repo: "deb http://code.liw.fi/debian stretch main ickhost"
keyring_package: code.liw.fi-keyring
signing_key: "{{ code_liw_fi_signing_key }}"
- repo: "deb http://ick-controller.h.qvarnlabs.eu/debian stretch-ci main"
- signing_key: "{{ ql_ick_apt_fi_signing_key }}"
+ signing_key: "{{ ql_ick_apt_signing_key }}"
controller_port: 12765
artifact_store_port: 12766
qvisqve_port: 10000
notify_port: 12767
ickweb_port: 10001
+apache_port: 8080
controller_url: "https://{{ controller_domain }}"
artifact_store_url: "https://{{ artifact_store_domain }}"
@@ -34,3 +36,50 @@ apt_admin_email: FIXME
wm_ssh_key: FIXME
wm_ssh_key_pub: FIXME
+
+
+haproxy_domain: "{{ controller_domain }}"
+haproxy_rules:
+ - name: ickweb
+ path: /web
+ backends: ["127.0.0.1:{{ ickweb_port }}"]
+
+ - name: blobs
+ path: /blobs
+ backends: ["127.0.0.1:{{ artifact_store_port }}"]
+
+ - name: token
+ path: /token
+ backends: ["127.0.0.1:{{ qvisqve_port }}"]
+
+ - name: login
+ path: /login
+ backends: ["127.0.0.1:{{ qvisqve_port }}"]
+
+ - name: auth
+ path: /auth
+ backends: ["127.0.0.1:{{ qvisqve_port }}"]
+
+ - name: clients
+ path: /clients
+ backends: ["127.0.0.1:{{ qvisqve_port }}"]
+
+ - name: users
+ path: /users
+ backends: ["127.0.0.1:{{ qvisqve_port }}"]
+
+ - name: applications
+ path: /applications
+ backends: ["127.0.0.1:{{ qvisqve_port }}"]
+
+ - name: notify
+ path: /notify
+ backends: ["127.0.0.1:{{ notify_port }}"]
+
+ - name: debian
+ path: /debian
+ backends: ["127.0.0.1:{{ apache_port }}"]
+
+ - name: controller
+ path: /
+ backends: ["127.0.0.1:{{ controller_port }}"]