Add information to the README file.
This commit is contained in:
parent
a6ae8fe04e
commit
27d20be413
23
README.md
23
README.md
|
@ -9,12 +9,33 @@ Role Variables
|
|||
The most important variables are listed below:
|
||||
|
||||
``` yaml
|
||||
docker_swarm_cluster_haproxy_install: True
|
||||
# mesh, keepalive, global
|
||||
docker_swarm_haproxy_installation_type: 'keepalive'
|
||||
docker_swarm_haproxy_networks:
|
||||
- '{{ docker_swarm_portainer_network }}'
|
||||
#
|
||||
docker_swarm_expose_api_via_haproxy: True
|
||||
docker_swarm_expose_api_hostname: 'swarm.example.com'
|
||||
# Portainer
|
||||
docker_swarm_cluster_portainer_install: True
|
||||
docker_swarm_portainer_hostname: 'portainer-swarm.example.com'
|
||||
docker_swarm_portainer_additional_constraints: []
|
||||
# - 'node.hostname != docker01'
|
||||
|
||||
docker_swarm_portainer_network: 'agent_network'
|
||||
docker_swarm_portainer_http_port: '9000'
|
||||
docker_swarm_portainer_service_port: '8000'
|
||||
|
||||
docker_swarm_haproxy_additional_services: []
|
||||
# - { acl_name: 'service', acl_rule: 'hdr_dom(host) -i service.example.com', service_name: 'service-', service_replica_num: '1', service_port: '9999', service_overlay_network: 'service-network' }
|
||||
```
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
docker
|
||||
* docker
|
||||
* keepalived, when haproxy is installed in HA host mode
|
||||
|
||||
License
|
||||
-------
|
||||
|
|
Loading…
Reference in New Issue