You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 12, 2018. It is now read-only.
By default, the registry will use the [config_sample.yml](config/config_sample.yml) configuration to start.
47
66
@@ -52,8 +71,7 @@ You may also use different "flavors" from that file (see below).
52
71
Finally, you can use your own configuration file (see below).
53
72
54
73
55
-
Configuration flavors
56
-
=====================
74
+
# Configuration flavors
57
75
58
76
The registry can be instructed to use a specific flavor from a configuration file.
59
77
@@ -87,7 +105,7 @@ with a simple syntax: `_env:VARIABLENAME[:DEFAULT]`. Check this syntax
87
105
in action in the example below...
88
106
89
107
90
-
####Example config
108
+
## Example config
91
109
92
110
```yaml
93
111
@@ -125,8 +143,7 @@ test:
125
143
126
144
127
145
128
-
Available configuration options
129
-
===============================
146
+
# Available configuration options
130
147
131
148
When using the `config_sample.yml`, you can pass all options through as environment variables. See [`config_sample.yml`](config/config_sample.yml) for the mapping.
132
149
@@ -146,7 +163,7 @@ When using the `config_sample.yml`, you can pass all options through as environm
146
163
`[Credentials]`section, set `boto_host`, `boto_port` as appropriate for the
147
164
service you are using. Alternatively, set `boto_host` and `boto_port` in the config file.
148
165
149
-
### Authentication options
166
+
## Authentication options
150
167
151
168
1. `standalone`: boolean, run the server in stand-alone mode. This means that
152
169
the Index service on index.docker.io will not be used for anything. This
@@ -160,7 +177,7 @@ When using the `config_sample.yml`, you can pass all options through as environm
160
177
index. You should provide your own method of authentication (such as Basic
161
178
auth).
162
179
163
-
### Search-engine options
180
+
## Search-engine options
164
181
165
182
The Docker Registry can optionally index repository information in a
166
183
database for the `GET /v1/search` [endpoint][search-endpoint]. You
@@ -187,7 +204,7 @@ common:
187
204
In this case, the module is imported, and an instance of its `Index`
188
205
class is used as the search backend.
189
206
190
-
#### sqlalchemy
207
+
### sqlalchemy
191
208
192
209
Use [SQLAlchemy][] as the search backend.
193
210
@@ -211,7 +228,7 @@ the database, you should launch your registry with
211
228
212
229
$ docker run -e GUNICORN_OPTS='[--preload]' -p 5000:5000 registry
213
230
214
-
### Mirroring Options
231
+
## Mirroring Options
215
232
216
233
All mirror options are placed in a `mirroring` section.
217
234
@@ -230,7 +247,7 @@ common:
230
247
tags_cache_ttl: 172800 # 2 days
231
248
```
232
249
233
-
### Cache options
250
+
## Cache options
234
251
235
252
It's possible to add an LRU cache to access small files. In this case you need
236
253
to spawn a [redis-server](http://redis.io/) configured in
@@ -271,7 +288,7 @@ To use and install one of these alternate storages:
0 commit comments