Docker: Autoconfiguration for S3 as Primary Storage

Created on 22 May 2020  路  4Comments  路  Source: nextcloud/docker

It would be great if S3 Primary Storage could be auto-configured similar to the database or Redis settings. Changing the primary storage in the config file after the installation step leads to some strange effects and prohibits a "serverless" deployment where there is no persistent file system other than S3. All file system extensions i looked up for docker requires root access in the container which are not given for serverless deployment options such as AWS Fargate

All 4 comments

+1 to add the possibility to configure S3 via env variable like this:

      - S3_KEY=xxx
      - S3_SECRET=xxxx
      - S3_BUCKET=xx-test01
      - S3_ADDRESS=xxx
      - S3_REGION=fr-par
      - S3_SSL=true
      - S3_PORT=443
      - S3_AUTOCREATE=false

Would also love to see this feature.

See also #1134 (with a PR).

Awesome! Great work and thanks for everyone who contributed

Was this page helpful?
0 / 5 - 0 ratings

Related issues

pr4xx picture pr4xx  路  4Comments

aanno picture aanno  路  3Comments

all-the-good-ones-are-gone picture all-the-good-ones-are-gone  路  3Comments

tanja84dk picture tanja84dk  路  3Comments

Xanarkan picture Xanarkan  路  3Comments