Skip to content
Snippets Groups Projects
Commit 30767046 authored by Robin Sonnabend's avatar Robin Sonnabend
Browse files

Add etherpad-api-proxy and update protokollsystem

parent f7178557
Branches
No related tags found
No related merge requests found
...@@ -125,3 +125,6 @@ ...@@ -125,3 +125,6 @@
- name: restart uwsgi instance darlehen - name: restart uwsgi instance darlehen
service: name="uwsgi@darlehen" state=restarted service: name="uwsgi@darlehen" state=restarted
- name: restart uwsgi instance etherpad-api-proxy
service: name="uwsgi@etherpad-api-proxy" state=restarted
[upstream]
url = "{{etherpad_api_proxy_upstream_url}}"
api_key = "{{etherpad_api_proxy_upstream_api_key}}"
{% for account in etherpad_api_proxy_accounts %}
[[api_keys]]
orga = "{{account.name}}"
api_key = "{{account.api_key}}"
{% endfor %}
...@@ -55,11 +55,13 @@ PRINTING_PRINTERS = { ...@@ -55,11 +55,13 @@ PRINTING_PRINTERS = {
ETHERPAD_ACTIVE = {{ protokolle_etherpad }} ETHERPAD_ACTIVE = {{ protokolle_etherpad }}
ETHERPAD_URL = "{{ protokolle_etherpad_url }}" ETHERPAD_URL = "{{ protokolle_etherpad_url }}"
ETHERPAD_API_URL = "{{ protokolle_etherpad_api_url }}"
ETHERPAD_APIKEY = "{{ protokolle_etherpad_apikey }}"
EMPTY_ETHERPAD = """Welcome to Etherpad! EMPTY_ETHERPAD = """Welcome to Etherpad!
This pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents! This pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!
Get involved with Etherpad at http://etherpad.org Get involved with Etherpad at https://etherpad.org
""" """
......
---
app_name: etherpad-api-proxy
app_user: etherpad-api-proxy
app_group: etherpad-api-proxy
app_home: /var/www/etherpad-api-proxy
app_path: /var/www/etherpad-api-proxy
app_python_version: 3
app_venv: /var/www/etherpad-api-proxy/venv/
app_program: proxy.py
app_callable: app
app_command: ""
app_mountpoint: /
app_service_env: []
app_mules: 0
app_enable_threads: false
app_uwsgi_options: []
app_db_name: ''
app_db_type: ''
app_additional_software: []
app_deploy_key: ''
app_git_url: 'https://git.fsmpi.rwth-aachen.de/infra/etherpad-api-proxy.git'
app_git_version: HEAD
app_requirements_file: requirements.txt
app_config_file: 'config.toml'
app_secret_config: false
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment