set docker

This commit is contained in:
2020-01-20 11:34:16 +01:00
parent 47d5ed77d5
commit bcd17e1038
8 changed files with 102 additions and 5 deletions

View File

@ -12,7 +12,8 @@ from pathlib import PurePosixPath
CURRENT_PATH = PurePosixPath(__file__)
def get_config():
return {'database': {'host': 'localhost',
return {'database': {'engine': 'postgres',
'host': 'postgres',
'port': 5432,
'dbname': 'risotto',
'user': 'risotto',
@ -30,3 +31,4 @@ def get_config():
'source': {'root_path': '/srv/seed'},
'cache': {'root_path': '/var/cache/risotto'}
}