-
Notifications
You must be signed in to change notification settings - Fork 3
/
config.default.yaml
64 lines (52 loc) · 1.9 KB
/
config.default.yaml
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
###
### Options
###
# Maximum file upload size
max_data_size_mb: 1
# Server level secret key used for additional security when encrypting secrets
secret_key: 'w7bAyd&zpc#jPUc2Y6K%gbRtuF@M9Y^@'
# Interval in seconds that the secret storage cleaner will run
storage_clean_interval: 900
# Listen IP within the docker container, generally this shouldn't be changed
app_listen_ip: 0.0.0.0
# Listen port within the docker container, generally this shouldn't be changed.
# To set the port for the exposed nginx web service, see the README for
# infomation about the WEB_PORT environment variable.
app_port: 5000
# Base URL path for app, defaults to root
app_url_base: /
###
### Storage Backend
###
# Choose one of the following stores:
# Local Disk store
# Writes secrets to given path within the container, so for persistence between
# containers, make sure to mount an external volumn to the path.
#
storage_class: whisper.storage.local.local
storage_config:
path: /tmp/whisper
# In-Memory store
# Stores secrets in memory only, does not persist secrets between application runs.
#
# storage_class: whisper.storage.memory.memory
# storage_config: {}
# AWS S3 store
# Stores secrets in a given bucket/path and uses object tags for expiration.
# Credentials are set from the environment, so either mount the credential files
# to /.aws within the container or set the normal AWS environment variables.
#
# storage_class: whisper.storage.aws.s3
# storage_config:
# bucket_name: my-secret-bucket
# bucket_path: secrets
# GCP GCS store
# Stores secrets in a given bucket/path and uses object tags for expiration.
# Credentials are set from the environment, so either mount the credential files
# to /.config within the container or set the normal GCP environment variables.
#
# storage_class: whisper.storage.gcp.gcs
# storage_config:
# gcp_project: my-project-name
# bucket_name: my-secret-bucket
# bucket_path: secrets