Galera cluster deployment based on docker swarm using Linux Containers (LXC) with automatic deployment via Ansible.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

12 lines
254 B

interface: lxcbr0
extra_docker_options: "{{ '--wsrep-new-cluster' if ansible_hostname == 'worker1' else '' }}"
workers:
- "10.0.3.100"
- "10.0.3.101"
# - "10.0.3.102"
nodes:
- "node1"
- "node2"
container_address:
- "10.0.3.10"
- "10.0.3.11"