Skip to content

Commit 9df910a

Browse files
committed
Clean up backend doc
1 parent 091bcef commit 9df910a

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

docs/install/containers/images/backend.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ html_meta:
88

99
# `plone/plone-backend`
1010

11-
Plone backend [Docker](https://www.docker.com/) images using Python 3 and [pip](https://pip.pypa.io/en/stable/) built on .
11+
This chapter covers Plone backend [Docker](https://www.docker.com/) images using Python 3 and [pip](https://pip.pypa.io/en/stable/).
1212

1313

1414
## Using this image
@@ -97,6 +97,7 @@ We advise against using this feature on production environments.
9797
| `ZEO_CLIENT_CACHE_SIZE` | ZEO option | `cache-size` | `128MB` |
9898
| `ZEO_DROP_CACHE_RATHER_VERIFY` | ZEO option | `drop-cache-rather-verify` | `false` |
9999

100+
100101
#### Example
101102

102103
```yaml
@@ -128,7 +129,6 @@ volumes:
128129
129130
### Relational Database variables
130131
131-
132132
| Environment variable | Description | RelStorage option | Default value |
133133
| --- | --- | --- | --- |
134134
| `RELSTORAGE_DSN` | [PostgreSQL DSN](#postgresql-dsn) for the database interface | | |
@@ -162,6 +162,7 @@ A typical DSN looks like the following:
162162
dbname='zodb' user='username' host='localhost' password='pass'
163163
```
164164

165+
165166
#### Example
166167

167168
```yaml
@@ -185,9 +186,9 @@ services:
185186
POSTGRES_DB: plone
186187
ports:
187188
- "5432:5432"
188-
189189
```
190190
191+
191192
### CORS variables
192193
193194
| Environment variable | Description | Default value |
@@ -199,7 +200,8 @@ services:
199200
| `CORS_ALLOW_HEADERS` | A comma separated list of request headers allowed to be sent by the client, for example `X-My-Header` | `Accept,Authorization,Content-Type,X-Custom-Header` |
200201
| `CORS_MAX_AGE` | Indicates how long the results of a preflight request can be cached | `3600` |
201202

202-
Used to configure [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS)
203+
These variables are used to configure [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS).
204+
203205

204206
### Add-on variables
205207

@@ -231,7 +233,7 @@ In this case, extend the image as explained before.
231233
```
232234

233235

234-
#### Developing packages
236+
### Developing packages variable
235237

236238
It is possible to install local packages instead of packages from pip.
237239
To do so, pass the `DEVELOP` environment variable with a space separated list of paths to Python packages to be installed.
@@ -252,7 +254,6 @@ We advise against using this feature on production environments.
252254
```
253255

254256

255-
256257
## Extending from this image
257258

258259
In a directory create a `Dockerfile` file:
@@ -300,7 +301,8 @@ error: [Errno 13] Permission denied: '/app/lib/python3.9/site-packages/eea'
300301

301302
### Multiple containers with ZEO
302303

303-
This image supports ZEO clusters as a simple way to allow horizontal scaling of the backend. Check the example page: {doc}`/volto/configuration/environmentvariables`.
304+
This image supports ZEO clusters as a simple way to allow horizontal scaling of the backend.
305+
Check the example page: {doc}`/volto/configuration/environmentvariables`.
304306

305307

306308
## Versions

0 commit comments

Comments
 (0)