4b031f9f24
This runs an haproxy which is strikingly similar to the one we currently run for git.openstack.org, but it is run in a docker container. Change-Id: I647ae8c02eb2cd4f3db2b203d61a181f7eb632d2
14 lines
465 B
Django/Jinja
14 lines
465 B
Django/Jinja
haproxy_listeners:
|
|
- name: balance_git_http
|
|
bind:
|
|
- "*:80"
|
|
servers:
|
|
- name: "gitea01.opendev.org"
|
|
address: "{{ (hostvars['gitea01.opendev.org'] | default({})).get('nodepool', {}).get('public_ipv4', '') }}:3080"
|
|
- name: balance_git_https
|
|
bind:
|
|
- "*:443"
|
|
servers:
|
|
- name: "gitea01.opendev.org"
|
|
address: "{{ (hostvars['gitea01.opendev.org'] | default({})).get('nodepool', {}).get('public_ipv4', '') }}:3000"
|