2020-09-24 16:01:51 +02:00
|
|
|
---
|
2022-10-31 19:56:31 +01:00
|
|
|
docker_swarm_cluster_haproxy_install: true
|
2020-09-30 17:14:29 +02:00
|
|
|
# mesh, keepalive, global
|
2020-10-03 18:22:58 +02:00
|
|
|
docker_swarm_haproxy_installation_type: 'global'
|
|
|
|
# I did not find any way to make it dependant on docker_swarm_haproxy_installation_type
|
2022-10-31 19:56:31 +01:00
|
|
|
docker_swarm_haproxy_keepalive_installation: false
|
2020-10-07 18:36:28 +02:00
|
|
|
docker_swarm_haproxy_swarm_port: '{{ docker_api_port }}'
|
2022-10-31 19:56:31 +01:00
|
|
|
docker_swarm_haproxy_plain_http_api: true
|
2020-09-30 17:14:29 +02:00
|
|
|
#
|
2022-10-31 19:56:31 +01:00
|
|
|
docker_swarm_expose_api_via_haproxy: true
|
2020-09-30 17:14:29 +02:00
|
|
|
docker_swarm_expose_api_hostname: 'swarm.example.com'
|
2020-10-21 16:50:43 +02:00
|
|
|
docker_swarm_api_backend: 'dockersocket /var/run/docker.sock'
|
2022-10-31 19:56:31 +01:00
|
|
|
docker_swarm_api_accept_proxy: false
|
|
|
|
docker_swarm_api_check_availability: false
|
2020-10-01 15:42:47 +02:00
|
|
|
docker_swarm_api_networks_acl:
|
|
|
|
- '127.0.0.1/8'
|
2022-02-04 18:40:19 +01:00
|
|
|
docker_swarm_api_haproxy_mode: http
|
2020-09-30 17:14:29 +02:00
|
|
|
# Portainer
|
2022-10-31 19:56:31 +01:00
|
|
|
docker_swarm_cluster_portainer_install: true
|
2020-09-30 17:14:29 +02:00
|
|
|
docker_swarm_portainer_hostname: 'portainer-swarm.example.com'
|
|
|
|
docker_swarm_portainer_additional_constraints: []
|
|
|
|
# - 'node.hostname != docker01'
|
2022-10-31 19:56:31 +01:00
|
|
|
docker_swarm_portainer_nfs_volume: false
|
|
|
|
docker_swarm_portainer_nfs_type: 'nfs4'
|
|
|
|
docker_swarm_portainer_nfs_o: 'nfsvers=4,addr=127.0.0.1,rw,nolock,soft'
|
|
|
|
docker_swarm_portainer_nfs_device: ':/tmp'
|
2021-04-11 19:11:23 +02:00
|
|
|
# This is ugly
|
2022-10-31 19:56:31 +01:00
|
|
|
docker_swarm_haproxy_shinyproxy_metrics: false
|
2021-04-11 19:11:23 +02:00
|
|
|
|
2020-10-12 17:45:05 +02:00
|
|
|
docker_swarm_portainer_network: 'agent_network'
|
2020-09-30 17:14:29 +02:00
|
|
|
docker_swarm_portainer_http_port: '9000'
|
|
|
|
docker_swarm_portainer_service_port: '8000'
|
|
|
|
|
2020-09-30 19:02:46 +02:00
|
|
|
docker_swarm_keepalived_vrouter_id: 205
|
|
|
|
docker_swarm_keepalived_floating_ip: '127.0.0.1/8'
|
|
|
|
docker_swarm_keepalived_instance_name: 'VI_HAPROXY_1'
|
2020-10-14 18:20:47 +02:00
|
|
|
docker_swarm_haproxy_loglevel: '{{ haproxy_loglevel }}'
|
2022-10-31 19:56:31 +01:00
|
|
|
docker_swarm_haproxy_http2_enabled: true
|
|
|
|
docker_swarm_haproxy_backends_redirect_to_https: true
|