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: doc/docker.md
+26-2Lines changed: 26 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,30 @@ The variable value has to be a space separated, double quoted list of plugin nam
29
29
30
30
Some plugins will need personalized settings. Just refer to the previous section, and include them in your custom `settings.json.docker`.
31
31
32
+
### Rebuilding including export functionality for DOC/PDF/ODT
33
+
34
+
If you want to be able to export your pads to DOC/PDF/ODT files, you can install
35
+
either Abiword or Libreoffice via setting a build variable.
36
+
37
+
#### Via Abiword
38
+
39
+
For installing Abiword, set the `INSTALL_ABIWORD` build variable to any value.
40
+
41
+
Also, you will need to configure the path to the abiword executable
42
+
via setting the `abiword` property in `<BASEDIR>/settings.json.docker` to
43
+
`/usr/bin/abiword` or via setting the environment variable `ABIWORD` to
44
+
`/usr/bin/abiword`.
45
+
46
+
#### Via Libreoffice
47
+
48
+
For installing Libreoffice instead, set the `INSTALL_SOFFICE` build variable
49
+
to any value.
50
+
51
+
Also, you will need to configure the path to the libreoffice executable
52
+
via setting the `soffice` property in `<BASEDIR>/settings.json.docker` to
53
+
`/usr/bin/soffice` or via setting the environment variable `SOFFICE` to
54
+
`/usr/bin/soffice`.
55
+
32
56
### Examples
33
57
34
58
Build a Docker image from the currently checked-out code:
@@ -168,8 +192,8 @@ For the editor container, you can also make it full width by adding `full-width-
168
192
|`IMPORT_MAX_FILE_SIZE`| maximum allowed file size when importing a pad, in bytes. |`52428800` (50 MB) |
169
193
|`IMPORT_EXPORT_MAX_REQ_PER_IP`| maximum number of import/export calls per IP. |`10`|
170
194
|`IMPORT_EXPORT_RATE_LIMIT_WINDOW`| the call rate for import/export requests will be estimated in this time window (in milliseconds) |`90000`|
171
-
|`COMMIT_RATE_LIMIT_DURATION`| duration of the rate limit window for commits by individual users/IPs (in seconds) |`1`|
172
-
|`COMMIT_RATE_LIMIT_POINTS`| maximum number of changes per IP to allow during the rate limit window |`10`|
195
+
|`COMMIT_RATE_LIMIT_DURATION`| duration of the rate limit window for commits by individual users/IPs (in seconds) |`1`|
196
+
|`COMMIT_RATE_LIMIT_POINTS`| maximum number of changes per IP to allow during the rate limit window |`10`|
173
197
|`SUPPRESS_ERRORS_IN_PAD_TEXT`| Should we suppress errors from being visible in the default Pad Text? |`false`|
174
198
|`REQUIRE_SESSION`| If this option is enabled, a user must have a session to access pads. This effectively allows only group pads to be accessed. |`false`|
175
199
|`EDIT_ONLY`| Users may edit pads but not create new ones. Pad creation is only via the API. This applies both to group pads and regular pads. |`false`|
0 commit comments