31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
---
|
|
|
|
haproxy_local_config_path: "reverse-proxy/haproxy.cfg"
|
|
haproxy_list_tls:
|
|
- wildcard.felcloud.io
|
|
haproxy_nbproc: 1
|
|
public_vip_address:
|
|
- "{{ vip_console.all_fixed_ips | first }}"
|
|
haproxy_first_tls: "/etc/haproxy/tls/wildcard.felcloud.io.pem"
|
|
default_backend: "baha_console"
|
|
haproxy:
|
|
backends:
|
|
- name: nosql
|
|
frontend: "console-dev-db.felcloud.io"
|
|
servers:
|
|
- "acl draw-auth http_auth(basic-auth-list)"
|
|
- "http-request auth realm draw unless draw-auth"
|
|
- "server {{ groups['console_database'][0] }} {{ hostvars[groups['console_database'][0]]['ansible_host'] }}:3000"
|
|
- name: nexus
|
|
frontend: "nexus-dev.felcloud.io"
|
|
servers:
|
|
- "server {{ groups['nexus'][0] }} {{ hostvars[groups['nexus'][0]]['ansible_host'] }}:8081"
|
|
- name: nexus_docker_registry
|
|
frontend: "nexus.felcloud.io"
|
|
servers:
|
|
- "server {{ groups['nexus'][0] }} {{ hostvars[groups['nexus'][0]]['ansible_host'] }}:8082"
|
|
- name: baha_console
|
|
frontend: "baha-dev.felcloud.io"
|
|
servers:
|
|
- "server {{ groups['console_web'][0] }} {{ hostvars[groups['console_web'][0]]['ansible_host'] }}:9090"
|