
This makes the haproxy role more generic so we can run another (or potentially even more) haproxy instance(s) to manage other services. The config file is moved to a variable for the haproxy role. The gitea specific config is then installed for the gitea-lb service by a new gitea-lb role. statsd reporting is made optional with an argument. This enables/disables the service in the docker compose. Role documenation is updated. Needed-By: https://review.opendev.org/678159 Change-Id: I3506ebbed9dda17d910001e71b17a865eba4225d
45 lines
1.4 KiB
YAML
45 lines
1.4 KiB
YAML
gitea_lb_listeners:
|
|
- name: balance_git_http
|
|
bind:
|
|
- ':::80'
|
|
servers:
|
|
- name: 'gitea01.opendev.org'
|
|
address: '38.108.68.172:3080'
|
|
- name: 'gitea02.opendev.org'
|
|
address: '38.108.68.23:3080'
|
|
- name: 'gitea03.opendev.org'
|
|
address: '38.108.68.110:3080'
|
|
- name: 'gitea04.opendev.org'
|
|
address: '38.108.68.147:3080'
|
|
- name: 'gitea05.opendev.org'
|
|
address: '38.108.68.131:3080'
|
|
- name: 'gitea06.opendev.org'
|
|
address: '38.108.68.250:3080'
|
|
- name: 'gitea07.opendev.org'
|
|
address: '38.108.68.134:3080'
|
|
- name: 'gitea08.opendev.org'
|
|
address: '38.108.68.205:3080'
|
|
- name: balance_git_https
|
|
bind:
|
|
- ':::443'
|
|
servers:
|
|
- name: 'gitea01.opendev.org'
|
|
address: '38.108.68.172:3081'
|
|
- name: 'gitea02.opendev.org'
|
|
address: '38.108.68.23:3081'
|
|
- name: 'gitea03.opendev.org'
|
|
address: '38.108.68.110:3081'
|
|
- name: 'gitea04.opendev.org'
|
|
address: '38.108.68.147:3081'
|
|
- name: 'gitea05.opendev.org'
|
|
address: '38.108.68.131:3081'
|
|
- name: 'gitea06.opendev.org'
|
|
address: '38.108.68.250:3081'
|
|
- name: 'gitea07.opendev.org'
|
|
address: '38.108.68.134:3081'
|
|
- name: 'gitea08.opendev.org'
|
|
address: '38.108.68.205:3081'
|
|
iptables_extra_public_tcp_ports:
|
|
- 443
|
|
- 80
|