Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Commit 7826ac4

Browse files
committed
Documented the example configuration file
1 parent cf2506a commit 7826ac4

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

config_sample.yml

+11-5
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,34 @@
1-
1+
# The `common' part is automatically included (and possibly overriden by all
2+
# other flavors)
23
common:
34
s3_access_key: REPLACEME
45
s3_secret_key: REPLACEME
56
s3_bucket: REPLACEME
67

8+
# This is the default configuration when no flavor is specified
79
dev:
810
storage: local
911
storage_path: /tmp/registry
1012
loglevel: debug
1113

14+
# To specify another flavor, set the environment variable SETTINGS_FLAVOR
15+
# $ export SETTINGS_FLAVOR=prod
1216
prod:
17+
# The standalone option allows to dedicate authentication and namespacing
18+
# to the main Index (https://index.docker.io). Enabling standalone (default)
19+
# also disables authentication
20+
standalone: False
1321
storage: s3
1422
storage_path: /prod
23+
# Enabling this options makes the Registry send an email on each code Exception
1524
email_exceptions:
1625
smtp_host: REPLACEME
1726
smtp_login: REPLACEME
1827
smtp_password: REPLACEME
1928
from_addr: [email protected]
2029
2130

31+
# This flavor is automatically used by unit tests
2232
test:
2333
storage: local
2434
storage_path: /tmp/test
25-
26-
standalone:
27-
storage: local
28-
storage_path: /tmp/registry

0 commit comments

Comments
 (0)