Skip to content
Snippets Groups Projects
Commit 0d549367 authored by Armin's avatar Armin
Browse files

Set etherpad changes to .env file

parent f77c9df2
Branches
No related tags found
No related merge requests found
......@@ -55,10 +55,13 @@ def setup_jitsi():
os.system('cp jitsi-auto-config/jitsi.subdomain.conf reverse_proxy/nginx/proxy-confs/'+ jitsi_subdomain + '.subdomain.conf')
def setup_etherpad():
f = open('.env')
f = open('.env', 'rt')
data = f.read()
f.close()
data.replace('#ETHERPAD_URL_BASE=http://etherpad.meet.jitsi:9001', 'ETHERPAD_URL_BASE=http://etherpad:9001')
f = open('.env', w)
f.write(data)
f.close()
if __name__ == '__main__':
configure_swag()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment