forked from docker-archive/docker-registry
-
Notifications
You must be signed in to change notification settings - Fork 1
/
config_sample.yml
40 lines (36 loc) · 1.16 KB
/
config_sample.yml
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
# The `common' part is automatically included (and possibly overriden by all
# other flavors)
common:
s3_access_key: REPLACEME
s3_secret_key: REPLACEME
s3_bucket: REPLACEME
# Set a random string here
secret_key: REPLACEME
# This is the default configuration when no flavor is specified
dev:
storage: local
storage_path: /tmp/registry
loglevel: debug
# To specify another flavor, set the environment variable SETTINGS_FLAVOR
# $ export SETTINGS_FLAVOR=prod
prod:
storage: s3
storage_path: /prod
# Enabling this options makes the Registry send an email on each code Exception
email_exceptions:
smtp_host: REPLACEME
smtp_login: REPLACEME
smtp_password: REPLACEME
from_addr: [email protected]
to_addr: [email protected]
# This flavor is automatically used by unit tests
test:
storage: local
storage_path: /tmp/test
# This flavor stores the images in Glance (to integrate with openstack)
# See also: https://github.com/dotcloud/openstack-docker
openstack:
storage: glance
storage_alternate: local
storage_path: /tmp/registry
loglevel: debug