Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix disabling object storage ACL in docker

Chocobozzzd38a49463ffa
diff --git a/support/docker/production/.env b/support/docker/production/.env
index 5b3b366f57..3fc6aa301c 100644
--- a/support/docker/production/.env
+++ b/support/docker/production/.env
@@ -47,6 +47,9 @@ OPENDKIM_DOMAINS=<MY DOMAIN>=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 046301a1ea..52d2f8f39d 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'