bundlewrap/bundles/travelynx/metadata.py
Franziska Kunsmann b7f377816f
All checks were successful
bundlewrap/pipeline/head This commit looks good
htz.ex42-1048908: fix travelynx static files
2020-08-19 22:01:54 +02:00

32 lines
924 B
Python

defaults = {
'users': {
'travelynx': {
'home': '/opt/travelynx',
'deploy_configs': False,
'home-mode': '0755',
},
},
'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',
},
},
},
}