force certain config values in docker installs

This commit is contained in:
Izalia Mae 2022-12-07 23:16:48 -05:00
parent e281a06e7f
commit dc74bfb588

View file

@ -26,6 +26,13 @@ class Application(web.Application):
if not self['config'].load(): if not self['config'].load():
self['config'].save() self['config'].save()
if self.config.is_docker:
self.config.update({
'db': '/data/relay.jsonld',
'listen': '0.0.0.0',
'port': 8080
})
self['workers'] = [] self['workers'] = []
self['last_worker'] = 0 self['last_worker'] = 0