nodes/htz-cloud.pleroma: introduce
This commit is contained in:
parent
1f3e7afb2c
commit
33fb9fb3f5
2 changed files with 58 additions and 0 deletions
7
data/powerdns/files/bind-zones/cybert-media.net
Normal file
7
data/powerdns/files/bind-zones/cybert-media.net
Normal file
|
@ -0,0 +1,7 @@
|
|||
${header}
|
||||
|
||||
$ORIGIN cybert-media.net.
|
||||
|
||||
@ IN A 159.69.11.231
|
||||
IN AAAA 2a01:4f8:c2c:c410::1
|
||||
IN TXT "v=spf1 a ~all"
|
51
nodes/htz-cloud/pleroma.py
Normal file
51
nodes/htz-cloud/pleroma.py
Normal file
|
@ -0,0 +1,51 @@
|
|||
nodes['htz-cloud.pleroma'] = {
|
||||
'bundles': {
|
||||
'pleroma',
|
||||
'postgresql',
|
||||
'zfs',
|
||||
},
|
||||
'groups': {
|
||||
'debian-buster',
|
||||
'webserver',
|
||||
},
|
||||
'metadata': {
|
||||
'interfaces': {
|
||||
'eth0': {
|
||||
'ips': {
|
||||
'159.69.11.231',
|
||||
'2a01:4f8:c2c:c410::1/64',
|
||||
},
|
||||
'gateway4': '172.31.1.1',
|
||||
'gateway6': 'fe80::1',
|
||||
},
|
||||
},
|
||||
'backups': {
|
||||
'exclude_from_backups': True,
|
||||
},
|
||||
'nginx': {
|
||||
'vhosts': {
|
||||
'pleroma': {
|
||||
'domain': 'cybert-media.net',
|
||||
},
|
||||
},
|
||||
},
|
||||
'pleroma': {
|
||||
'version': '2.2.2',
|
||||
'url': 'cybert-media.net',
|
||||
'title': 'CYBERt Media',
|
||||
'description': '',
|
||||
'secret_key': vault.decrypt('encrypt$gAAAAABgMSibWavxv69eNmzAtQRSeFMtaXdkc1K2fklFMDsBJk2Rcmhak5tAVVqkemtnc96Q-Ad_FrdQM9wyuqUQnUEkIr1zScInJZsbf-QCoD02yX7Gktizmlc0aUjF1HO3rdtX9TeW'),
|
||||
},
|
||||
'vm': {
|
||||
'cpu': 1,
|
||||
'ram': 2,
|
||||
},
|
||||
'zfs': {
|
||||
'pools': {
|
||||
'tank': {
|
||||
'device': '/dev/sdb',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Reference in a new issue