bundlewrap/nodes/gce/bind01.py

63 lines
1.5 KiB
Python
Raw Permalink Normal View History

2020-10-16 18:10:34 +00:00
# ns-1.kunbox.net
2020-06-06 08:34:19 +00:00
# Frankfurt, Germany
2020-06-06 08:20:58 +00:00
nodes['gce.bind01'] = {
'hostname': '34.89.208.78',
2020-10-16 18:10:34 +00:00
'bundles': {
'nodejs',
'powerdnsadmin',
},
2020-06-06 08:20:58 +00:00
'groups': {
2020-11-21 09:55:09 +00:00
'debian-buster',
2020-06-06 08:20:58 +00:00
'dns',
'webserver',
2020-06-06 08:20:58 +00:00
},
'metadata': {
2022-01-04 14:36:30 +00:00
'backups': {
# This is the primary DNS server. However, we only use
# replication for DynDNS, currently. No need for backups here.
'exclude_from_backups': True,
},
'interfaces': {
2020-11-09 14:16:29 +00:00
'ens4': {
'ips': {
'10.156.0.4',
},
'gateway4': '10.156.0.1',
},
},
'external_ipv4': '34.89.208.78',
2021-04-10 13:11:48 +00:00
'icinga_options': {
'pretty_name': 'ns-1.kunbox.net',
},
'nginx': {
'vhosts': {
'ns-1.kunbox.net': {
'locations': {
'/': {
'target': 'http://127.0.0.1:8000/',
},
},
'website_check_path': '/login',
'website_check_string': 'PowerDNS',
},
},
},
'postgresql': {
'version': '11',
},
'powerdns': {
'is_secondary': False,
'secondary_nameservers': 'dns',
'my_hostname': 'ns-1.kunbox.net',
},
'powerdnsadmin': {
'version': 'v0.3.0',
},
'vm': {
'cpu': 1,
'ram': 1,
},
},
2020-06-06 08:20:58 +00:00
}