From dc74bfb58880e8a3cd68c6b0b978672f39e48103 Mon Sep 17 00:00:00 2001 From: Izalia Mae Date: Wed, 7 Dec 2022 23:16:48 -0500 Subject: [PATCH] force certain config values in docker installs --- relay/application.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/relay/application.py b/relay/application.py index 538a9ce..de68bc2 100644 --- a/relay/application.py +++ b/relay/application.py @@ -26,6 +26,13 @@ class Application(web.Application): if not self['config'].load(): 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['last_worker'] = 0