I’m configuring OwnCloud on Docker, using a docker-compose file, connecting to S3 as primary storage.
The S3 connection does not works beacause of the file objectstore.config.php, the issue is in the following row:
endpoint’ => getenv(‘OWNCLOUD_OBJECTSTORE_ENDPOINT’)
because S3 does not need it, if i comment this line, it works fine.
Is there a conventional value for this variable that I can set in the docker env to make it works, or I’m forced to ovverride this script mounting it to docker with a correct one?
It’s just not required because the library is doing it under the hood. We set it explicitly in the container because that works for all providers. Do you use Amazon S3? If you don’t set the environment variable, OWNCLOUD_OBJECTSTORE_ENDPOINT will auto-create the value in the form of s3-${OWNCLOUD_OBJECTSTORE_REGION}.amazonaws.com
Thanks for the feedback! Then the easiest would be to fix the default endpoint to https://s3.${OWNCLOUD_OBJECTSTORE_REGION}.amazonaws.com in the container.