You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .env.example
+14-1Lines changed: 14 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,12 @@ LETSENCRYPT_RSA_KEY_SIZE=4096
38
38
# Set to 1 if you're testing your setup to avoid hitting request limits
39
39
LETSENCRYPT_STAGING=1
40
40
41
+
####################
42
+
# Storage settings
43
+
####################
41
44
42
45
# Used to define storages in QFieldCloud. Note the contents of this variable is a superset of Django's `STORAGES` setting.
43
-
# NOTE: Note if the DYNAMIC_STORAGES is not available, QFieldCloud will still work with `STORAGE_ACCESS_KEY_ID`, `STORAGE_SECRET_KEY_ID`, `STORAGE_BUCKET_NAME` and `STORAGE_REGION_NAME` from previous QFC versions.
46
+
# NOTE: Note if the `STORAGES` is not available, QFieldCloud will still work with `STORAGE_ACCESS_KEY_ID`, `STORAGE_SECRET_KEY_ID`, `STORAGE_BUCKET_NAME` and `STORAGE_REGION_NAME` from previous QFC versions.
44
47
# NOTE: The custom property `QFC_IS_LEGACY` is temporary available to allow migration from the old to the new way of handling files. This option will soon be removed, so you are highly encouraged to migrate all the projects to the new way of handling files.
45
48
# NOTE: The `endpoint_url` must be a URL reachable from within docker and the host, the default value `172.17.0.1` for `minio` is the docker network `bridge`. On windows/mac, change the value to "http://host.docker.internal:8009".
46
49
# DEFAULT:
@@ -76,6 +79,16 @@ STORAGES='{
76
79
# DEFAULT: ""
77
80
# STORAGES_PROJECT_DEFAULT_STORAGE=
78
81
82
+
# Local admin username configuration for minio storage in local and standalone instances. Uncomment if necessary.
83
+
# NOTE: Needs to be the same as in the `STORAGES` setting in standalone config.
84
+
# DEFAULT: MINIO_ROOT_USER=minioadmin
85
+
# MINIO_ROOT_USER=minioadmin
86
+
87
+
# Local admin password configuration for minio storage in local and standalone instances. Uncomment if necessary.
88
+
# NOTE: Needs to be the same as in the `STORAGES` setting in standalone config.
89
+
# DEFAULT: MINIO_ROOT_PASSWORD=minioadmin
90
+
# MINIO_ROOT_PASSWORD=minioadmin
91
+
79
92
# Public port to the minio API endpoint. It must match the configured port in `STORAGE_ENDPOINT_URL`.
80
93
# NOTE: active only when minio is the configured as storage endpoint. Mostly for local development.
0 commit comments