Skip to content
Snippets Groups Projects
Commit 61871b7a authored by Thomas Schneider's avatar Thomas Schneider
Browse files

WIP: hedgedoc

parent c5f1a8c1
No related branches found
No related tags found
No related merge requests found
Pipeline #3270 passed
...@@ -11,6 +11,7 @@ hedgedoc_db: ...@@ -11,6 +11,7 @@ hedgedoc_db:
hedgedoc_domain: hedgedoc.example.org hedgedoc_domain: hedgedoc.example.org
hedgedoc_urlPath: null hedgedoc_urlPath: null
hedgedoc_allowGravatar: false hedgedoc_allowGravatar: false
hedgedoc_protocolUseSSL: true
# hedgedoc_csp # hedgedoc_csp
# hedgedoc_cookiePolicy # hedgedoc_cookiePolicy
# hedgedoc_extra_config # hedgedoc_extra_config
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
"loglevel": "info", "loglevel": "info",
"uploadsPath": "{{ hedgedoc_data_root }}/uploads", "uploadsPath": "{{ hedgedoc_data_root }}/uploads",
"allowGravatar": {{ hedgedoc_allowGravatar|to_json }}, "allowGravatar": {{ hedgedoc_allowGravatar|to_json }},
"protocolUseSSL": {{ hedgedoc_protocolUseSSL|to_json }},
{% if hedgedoc_csp is defined %} {% if hedgedoc_csp is defined %}
"csp": {{ hedgedoc_csp|to_json }}, "csp": {{ hedgedoc_csp|to_json }},
{% endif %} {% endif %}
......
...@@ -14,6 +14,7 @@ Environment=NODE_ENV=production ...@@ -14,6 +14,7 @@ Environment=NODE_ENV=production
Restart=always Restart=always
RestartSec=2s RestartSec=2s
ExecStart=/usr/bin/yarnpkg start --production ExecStart=/usr/bin/yarnpkg start --production
ExecStartPost=/bin/sh -c "while ! test -e ${RUNTIME_DIRECTORY}/hedgedoc.sock; do sleep 2; done; chmod 666 ${RUNTIME_DIRECTORY}/hedgedoc.sock"
CapabilityBoundingSet= CapabilityBoundingSet=
NoNewPrivileges=true NoNewPrivileges=true
PrivateDevices=true PrivateDevices=true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment