mirror of
https://github.com/overleaf/overleaf.git
synced 2025-01-12 14:11:26 +00:00
Add optional gcs config to override gcs settings (for fake gcs server)
This commit is contained in:
parent
eb93ae4b10
commit
2509b51883
1 changed files with 7 additions and 1 deletions
|
@ -34,6 +34,12 @@ settings =
|
||||||
# gcs - Google Cloud Storage
|
# gcs - Google Cloud Storage
|
||||||
backend: process.env['BACKEND']
|
backend: process.env['BACKEND']
|
||||||
|
|
||||||
|
gcs:
|
||||||
|
if process.env['GCS_API_ENDPOINT']
|
||||||
|
apiEndpoint: process.env['GCS_API_ENDPOINT']
|
||||||
|
apiScheme: process.env['GCS_API_SCHEME']
|
||||||
|
projectId: process.env['GCS_PROJECT_ID']
|
||||||
|
|
||||||
s3:
|
s3:
|
||||||
if process.env['AWS_ACCESS_KEY_ID']? or process.env['S3_BUCKET_CREDENTIALS']?
|
if process.env['AWS_ACCESS_KEY_ID']? or process.env['S3_BUCKET_CREDENTIALS']?
|
||||||
key: process.env['AWS_ACCESS_KEY_ID']
|
key: process.env['AWS_ACCESS_KEY_ID']
|
||||||
|
|
Loading…
Reference in a new issue