mirror of
https://codeberg.org/scottslowe/learning-tools.git
synced 2026-03-11 09:04:37 +00:00
Update the etcd-backed Docker Swarm environment with new methods/techniques learned in building the Vagrant environment. This involves changes to the external YAML file (renamed to "machines.yml") and the Vagrantfile. Only minor changes were made to the ERB template and the provisioning script (to eliminate a dependency on shared folders). Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
49 lines
895 B
YAML
49 lines
895 B
YAML
---
|
|
- name: "etcd-01"
|
|
box:
|
|
vmw: "slowe/ubuntu-trusty-x64"
|
|
vb: "ubuntu/trusty64"
|
|
ram: "512"
|
|
vcpu: "1"
|
|
ip_addr: "192.168.100.101"
|
|
etcd: true
|
|
- name: "etcd-02"
|
|
box:
|
|
vmw: "slowe/ubuntu-trusty-x64"
|
|
vb: "ubuntu/trusty64"
|
|
ram: "512"
|
|
vcpu: "1"
|
|
ip_addr: "192.168.100.102"
|
|
etcd: true
|
|
- name: "etcd-03"
|
|
box:
|
|
vmw: "slowe/ubuntu-trusty-x64"
|
|
vb: "ubuntu/trusty64"
|
|
ram: "512"
|
|
vcpu: "1"
|
|
ip_addr: "192.168.100.103"
|
|
etcd: true
|
|
- name: "coreos-01"
|
|
box:
|
|
vmw: "coreos-stable"
|
|
vb: "coreos-stable"
|
|
ram: "512"
|
|
vcpu: "1"
|
|
ip_addr: "192.168.100.111"
|
|
etcd: false
|
|
- name: "coreos-02"
|
|
box:
|
|
vmw: "coreos-stable"
|
|
vb: "coreos-stable"
|
|
ram: "512"
|
|
vcpu: "1"
|
|
ip_addr: "192.168.100.112"
|
|
etcd: false
|
|
- name: "coreos-03"
|
|
box:
|
|
vmw: "coreos-stable"
|
|
vb: "coreos-stable"
|
|
ram: "512"
|
|
vcpu: "1"
|
|
ip_addr: "192.168.100.113"
|
|
etcd: false
|