bundlewrap/bundles/travelynx/metadata.py
Franziska Kunsmann 0dd2a4b985
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit
htz.ex42-1048908: can haz travelynx?
2020-08-19 18:43:32 +02:00

31 lines
891 B
Python

defaults = {
'users': {
'travelynx': {
'home': '/opt/travelynx',
'deploy_configs': False,
},
},
'travelynx': {
'database': {
'username': 'travelynx',
'password': repo.vault.password_for('{} postgresql travelynx'.format(node.name)),
'database': 'travelynx',
},
'workers': 4,
'spare_workers': 2,
'mail_from': 'travelynx@{}'.format(node.hostname),
'cookie_secret': repo.vault.password_for('{} travelynx cookie_secret'.format(node.name)),
},
'postgresql': {
'users': {
'travelynx': {
'password': repo.vault.password_for('{} postgresql travelynx'.format(node.name)),
},
},
'databases': {
'travelynx': {
'owner': 'travelynx',
},
},
},
}