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

Commit 3753407

Browse files
committed
Update README.md
Align config examples with inheritance mechanism.
1 parent 5720423 commit 3753407

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,14 @@ in action in the example below...
8888

8989
```yaml
9090

91-
common:
91+
common: &common
9292
loglevel: info
9393
search_backend: "_env:SEARCH_BACKEND:"
9494
sqlalchemy_index_database:
9595
"_env:SQLALCHEMY_INDEX_DATABASE:sqlite:////tmp/docker-registry.db"
9696

9797
prod:
98+
<<: *common
9899
loglevel: warn
99100
storage: s3
100101
s3_access_key: _env:AWS_S3_ACCESS_KEY
@@ -107,11 +108,13 @@ prod:
107108
108109

109110
dev:
111+
<<: *common
110112
loglevel: debug
111113
storage: local
112114
storage_path: /home/myself/docker
113115

114116
test:
117+
<<: *common
115118
storage: local
116119
storage_path: /tmp/tmpdockertmp
117120
```

0 commit comments

Comments
 (0)