aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker
diff options
context:
space:
mode:
authorRigel Kent <par@rigelk.eu>2018-12-13 09:49:45 +0100
committerChocobozzz <me@florianbigard.com>2018-12-13 09:49:45 +0100
commit5e755fff9d70a7fd3c4f85bb524f1b774dd85b25 (patch)
tree699a0724de91f4151ec7d67b700f5b7736a78e45 /support/docker
parent9ecac97be024cf2277872986950d7eec85cbc76e (diff)
downloadPeerTube-5e755fff9d70a7fd3c4f85bb524f1b774dd85b25.tar.gz
PeerTube-5e755fff9d70a7fd3c4f85bb524f1b774dd85b25.tar.zst
PeerTube-5e755fff9d70a7fd3c4f85bb524f1b774dd85b25.zip
add Content Security Policy (#1252)
* add Content Security Policy * remove reflect-metadata on production builds to get rid of unsafe-eval * fix baseCSP usage * add SRI to CSP * add blob: to media-src * remove SRI * CSP set to reportOnly * adding data: to connect-src CSP * remove block-all-mixed-content * add report-uri support
Diffstat (limited to 'support/docker')
-rw-r--r--support/docker/production/config/custom-environment-variables.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/support/docker/production/config/custom-environment-variables.yaml b/support/docker/production/config/custom-environment-variables.yaml
index cfc30632c..550f1ad80 100644
--- a/support/docker/production/config/custom-environment-variables.yaml
+++ b/support/docker/production/config/custom-environment-variables.yaml
@@ -101,9 +101,11 @@ transcoding:
101 1080: 101 1080:
102 __name: "PEERTUBE_TRANSCODING_1080P" 102 __name: "PEERTUBE_TRANSCODING_1080P"
103 __format: "json" 103 __format: "json"
104
105 104
106instance: 105instance:
107 name: "PEERTUBE_INSTANCE_NAME" 106 name: "PEERTUBE_INSTANCE_NAME"
108 description: "PEERTUBE_INSTANCE_DESCRIPTION" 107 description: "PEERTUBE_INSTANCE_DESCRIPTION"
109 terms: "PEERTUBE_INSTANCE_TERMS" 108 terms: "PEERTUBE_INSTANCE_TERMS"
109
110services:
111 csp-logger: "PEERTUBE_SERVICES_CSPLOGGER"