Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webservices
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
infra
ansible-shared
webservices
Commits
61871b7a
Commit
61871b7a
authored
3 years ago
by
Thomas Schneider
Browse files
Options
Downloads
Patches
Plain Diff
WIP: hedgedoc
parent
c5f1a8c1
No related branches found
No related tags found
No related merge requests found
Pipeline
#3270
passed
3 years ago
Stage: test
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
hedgedoc/defaults/main.yml
+1
-0
1 addition, 0 deletions
hedgedoc/defaults/main.yml
hedgedoc/templates/config.json.j2
+1
-0
1 addition, 0 deletions
hedgedoc/templates/config.json.j2
hedgedoc/templates/hedgedoc.service.j2
+1
-0
1 addition, 0 deletions
hedgedoc/templates/hedgedoc.service.j2
with
3 additions
and
0 deletions
hedgedoc/defaults/main.yml
+
1
−
0
View file @
61871b7a
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
hedgedoc/templates/config.json.j2
+
1
−
0
View file @
61871b7a
...
@@ -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 %}
...
...
This diff is collapsed.
Click to expand it.
hedgedoc/templates/hedgedoc.service.j2
+
1
−
0
View file @
61871b7a
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment