forked from kbase/blobstore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deploy.cfg.example
40 lines (34 loc) · 1.76 KB
/
deploy.cfg.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Config file for the blobstore service.
[BlobStore]
# The host under which the server will run, typically localhost:[port] or 0.0.0.0:[port]
host = localhost:45678
# MongoDB parameters. The user and password must both be supplied if either is supplied.
mongodb-host = localhost:27017
mongodb-database = blobstore
#mongodb-user = [username]
#mongodb-pwd = [password]
# S3 API parameters. All are required other than s3-disable-ssl and s3-disable-ssl-verify.
# disable-ssl treats any value other than 'true' as false.
s3-host = localhost:9000
# The bucket name must obey https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html
# with the extra restriction that periods are not allowed.
s3-bucket = blobstore
s3-access-key = [access key goes here]
s3-access-secret = [access secret goes here]
s3-region = us-west-1
# Use plaintext to talk to destination S3. Default false.
#s3-disable-ssl = false
# Disable verifying the destination S3 SSL cert (e.g. for self-signed certs). Default false.
#s3-disable-ssl-verify = false
# KBase auth server parameters.
# The root url of the auth server.
kbase-auth-url = https://kbase.us/services/auth
# KBase auth server custom roles that denote the user is a blobstore admin. Comma delimited.
kbase-auth-admin-roles = KBASE_ADMIN, BLOBSTORE_ADMIN
# A list of comma separated cookie names to check for authentication tokens.
# The authentication header is checked first, then each cookie in the list in order.
# kbase-auth-token-cookies =
# If "true", make the server ignore the X-Forwarded-For and X-Real-IP headers. Otherwise
# (the default behavior), the logged IP address for a request, in order of precedence, is
# 1) the first address in X-Forwarded-For, 2) X-Real-IP, and 3) the address of the client.
dont-trust-x-ip-headers = false