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
Copy file name to clipboardExpand all lines: plone/content.md
+17-17Lines changed: 17 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,8 +17,8 @@
17
17
18
18
This will download and start the latest Plone 5 container, based on [Debian](https://www.debian.org/).
19
19
20
-
```console
21
-
$ docker run -p 8080:8080 %%IMAGE%%
20
+
```shell
21
+
docker run -p 8080:8080 %%IMAGE%%
22
22
```
23
23
24
24
This image includes `EXPOSE 8080` (the Plone port), so standard container linking will make it automatically available to the linked containers. Now you can add a Plone Site at http://localhost:8080. The default Zope user and password are `admin/admin`.
@@ -29,31 +29,31 @@ A ZEO cluster is best suited for production setups. You will **need** a load bal
29
29
30
30
Start ZEO server in the background.
31
31
32
-
```console
33
-
$ docker run --name=zeo %%IMAGE%% zeo
32
+
```shell
33
+
docker run --name=zeo %%IMAGE%% zeo
34
34
```
35
35
36
36
Start two Plone clients, also in the background.
37
37
38
-
```console
39
-
$ docker run --link=zeo -e ZEO_ADDRESS=zeo:8080 -p 8081:8080 %%IMAGE%%
40
-
$ docker run --link=zeo -e ZEO_ADDRESS=zeo:8080 -p 8082:8080 %%IMAGE%%
38
+
```shell
39
+
docker run --link=zeo -e ZEO_ADDRESS=zeo:8080 -p 8081:8080 %%IMAGE%%
40
+
docker run --link=zeo -e ZEO_ADDRESS=zeo:8080 -p 8082:8080 %%IMAGE%%
41
41
```
42
42
43
43
### Start Plone in debug mode
44
44
45
45
You can also start Plone in debug mode (`fg`) by running the following command.
46
46
47
-
```console
48
-
$ docker run -p 8080:8080 %%IMAGE%% fg
47
+
```shell
48
+
docker run -p 8080:8080 %%IMAGE%% fg
49
49
```
50
50
51
51
### Add-ons
52
52
53
53
You can enable Plone add-ons via the `ADDONS` environment variable.
54
54
55
-
```console
56
-
$ docker run -p 8080:8080 -e PLONE_ADDONS="eea.facetednavigation Products.PloneFormGen" %%IMAGE%%
55
+
```shell
56
+
docker run -p 8080:8080 -e PLONE_ADDONS="eea.facetednavigation Products.PloneFormGen" %%IMAGE%%
57
57
```
58
58
59
59
For more information on how to extend this image with your own custom settings, adding more add-ons, building it, or mounting volumes, please refer to the [Plone 5 documentation](https://5.docs.plone.org/manage/docker/docs/index.html).
@@ -71,20 +71,20 @@ The Plone image uses several environment variables.
71
71
72
72
Run Plone and install two add-ons (`eea.facetednavigation` and `collective.easyform`).
0 commit comments