mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-22 06:27:59 +00:00
force certain config values in docker installs
This commit is contained in:
parent
e281a06e7f
commit
dc74bfb588
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue