From d38a49463ffa994440d54561d8dc78263e3e0b6d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 1 Sep 2023 11:41:38 +0200 Subject: [PATCH] Fix disabling object storage ACL in docker --- support/docker/production/.env | 3 +++ support/docker/production/config/production.yaml | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/support/docker/production/.env b/support/docker/production/.env index 5b3b366f5..3fc6aa301 100644 --- a/support/docker/production/.env +++ b/support/docker/production/.env @@ -47,6 +47,9 @@ OPENDKIM_DOMAINS==peertube # see https://github.com/wader/postfix-relay/pull/18 OPENDKIM_RequireSafeKeys=no +PEERTUBE_OBJECT_STORAGE_UPLOAD_ACL_PUBLIC="public-read" +PEERTUBE_OBJECT_STORAGE_UPLOAD_ACL_PRIVATE="private" + # /!\ Prefer to use the PeerTube admin interface to set the following configurations /!\ #PEERTUBE_SIGNUP_ENABLED=true #PEERTUBE_TRANSCODING_ENABLED=true diff --git a/support/docker/production/config/production.yaml b/support/docker/production/config/production.yaml index 046301a1e..52d2f8f39 100644 --- a/support/docker/production/config/production.yaml +++ b/support/docker/production/config/production.yaml @@ -71,6 +71,12 @@ storage: # If not, peertube will fallback to the default fil client_overrides: '../data/client-overrides/' + +object_storage: + upload_acl: + public: null # Set to null here because we can't using env variables + private: null + log: level: 'info' # 'debug' | 'info' | 'warn' | 'error' -- 2.41.0