@@ -18,7 +18,7 @@ This chapter covers Plone backend [Docker](https://www.docker.com/) images using
1818### Simple usage
1919
2020``` shell
21- docker run -p 8080:8080 plone/plone-backend:6.0.0a6 start
21+ docker run -p 8080:8080 plone/plone-backend:{PLONE_BACKEND_VERSION} start
2222```
2323
2424Then point your browser at ` http://localhost:8080 ` .
@@ -66,13 +66,13 @@ To recreate the Plone site when restarting the container, you can pass the `DELE
6666Plone 6 example:
6767
6868``` shell
69- docker run -p 8080:8080 -e ADDONS=" eea.api.layout" -e SITE=" Plone" -e PROFILES=" eea.api.layout:default" plone/plone-backend:6.0.0a6
69+ docker run -p 8080:8080 -e ADDONS=" eea.api.layout" -e SITE=" Plone" -e PROFILES=" eea.api.layout:default" plone/plone-backend:{PLONE_BACKEND_VERSION}
7070```
7171
7272Plone 6 Classic example:
7373
7474``` shell
75- docker run -p 8080:8080 -e ADDONS=" eea.facetednavigation" -e SITE=" Plone" -e TYPE=" classic" -e PROFILES=" eea.facetednavigation:default" plone/plone-backend:6.0.0a6
75+ docker run -p 8080:8080 -e ADDONS=" eea.facetednavigation" -e SITE=" Plone" -e TYPE=" classic" -e PROFILES=" eea.facetednavigation:default" plone/plone-backend:{PLONE_BACKEND_VERSION}
7676```
7777
7878``` {warning}
@@ -106,7 +106,7 @@ version: "3"
106106services :
107107
108108 backend :
109- image : plone/plone-backend:6.0.0a6
109+ image : plone/plone-backend:{PLONE_BACKEND_VERSION}
110110 restart : always
111111 environment :
112112 ZEO_ADDRESS : zeo:8100
@@ -174,7 +174,7 @@ version: "3"
174174services :
175175
176176 backend :
177- image : plone/plone-backend:6.0.0a6
177+ image : plone/plone-backend:{PLONE_BACKEND_VERSION}
178178 environment :
179179 RELSTORAGE_DSN : " dbname='plone' user='plone' host='db' password='plone'"
180180 ports :
@@ -224,13 +224,13 @@ It is possible to install add-ons during startup time in a container created usi
224224To do so, pass the `ADDONS` environment variable with a space separated list of requirements to be added to the image :
225225
226226` ` ` shell
227- docker run -p 8080:8080 -e ADDONS="pas.plugins.authomatic" plone/plone-backend:6.0.0a6 start
227+ docker run -p 8080:8080 -e ADDONS="pas.plugins.authomatic" plone/plone-backend:{PLONE_BACKEND_VERSION} start
228228` ` `
229229
230230This approach also allows you to test Plone with a specific version of one of its core components
231231
232232` ` ` shell
233- docker run -p 8080:8080 -e ADDONS="plone.volto==3.1.0a3" plone/plone-backend:6.0.0a6 start
233+ docker run -p 8080:8080 -e ADDONS="plone.volto==3.1.0a3" plone/plone-backend:{PLONE_BACKEND_VERSION} start
234234` ` `
235235
236236` ` ` {warning}
@@ -248,13 +248,13 @@ To do so, pass the `DEVELOP` environment variable with a space separated list of
248248These packages will be installed with `pip install --editable`.
249249
250250` ` ` shell
251- docker run -p 8080:8080 -e DEVELOP="/app/src/mysite.policy" plone/plone-backend:6.0.0a6 start
251+ docker run -p 8080:8080 -e DEVELOP="/app/src/mysite.policy" plone/plone-backend:{PLONE_BACKEND_VERSION} start
252252` ` `
253253
254254This approach also allows you to develop local packages by using a volume.
255255
256256` ` ` shell
257- docker run -p 8080:8080 -e DEVELOP="/app/src/mysite.policy" -v /path/to/mysite.policy:/app/src/mysite.policy plone/plone-backend:6.0.0a6 start
257+ docker run -p 8080:8080 -e DEVELOP="/app/src/mysite.policy" -v /path/to/mysite.policy:/app/src/mysite.policy plone/plone-backend:{PLONE_BACKEND_VERSION} start
258258` ` `
259259
260260` ` ` {warning}
@@ -267,7 +267,7 @@ We advise against using this feature on production environments.
267267In a directory create a `Dockerfile` file :
268268
269269` ` ` Dockerfile
270- FROM plone/plone-backend:6.0.0a6
270+ FROM plone/plone-backend:{PLONE_BACKEND_VERSION}
271271
272272RUN apt-get update \
273273 && apt-get install -y --no-install-recommends gcc \
0 commit comments