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: CHANGELOG.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
# 1.8
2
+
* SECURITY: change referrer policy so that Etherpad addresses aren't leaked when links are clicked (discussion: https://github.com/ether/etherpad-lite/pull/3636)
3
+
* SECURITY: set the "secure" flag for the session cookies when served over SSL. From now on it will not be possible to serve the same instance both in cleartext and over SSL
4
+
1
5
# 1.8-beta.1
2
6
* FEATURE: code was migrated to `async`/`await`, getting rid of a lot of callbacks (see https://github.com/ether/etherpad-lite/issues/3540)
3
7
* FEATURE: support configuration via environment variables
Copy file name to clipboardExpand all lines: doc/docker.md
+19-37Lines changed: 19 additions & 37 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,79 +1,60 @@
1
-
# Docker image
1
+
# Docker
2
2
3
-
This directory contains the files that are used to build the official Docker image on https://hub.docker.com/r/etherpad/etherpad.
3
+
The official Docker image is available on https://hub.docker.com/r/etherpad/etherpad.
4
4
5
-
# Downloading from Docker Hub
5
+
##Downloading from Docker Hub
6
6
If you are ok downloading a [prebuilt image from Docker Hub](https://hub.docker.com/r/etherpad/etherpad), these are the commands:
7
7
```bash
8
8
# gets the latest published version
9
9
docker pull etherpad/etherpad
10
10
11
11
# gets a specific version
12
-
docker pull etherpad/etherpad:1.7.5
12
+
docker pull etherpad/etherpad:1.8.0
13
13
```
14
14
15
-
# Build a personalized container
15
+
##Build a personalized container
16
16
17
17
If you want to use a personalized settings file, **you will have to rebuild your image**.
18
18
All of the following instructions are as a member of the `docker` group.
19
19
20
-
## Rebuilding with custom settings
21
-
Prepare your custom `settings.json` file:
22
-
```bash
23
-
cd<BASEDIR>/docker
24
-
cp ../settings.json.template settings.json
25
-
[ further edit your settings.json as needed]
26
-
```
20
+
### Rebuilding with custom settings
21
+
Edit `<BASEDIR>/settings.json.docker` at your will. When rebuilding the image, this file will be copied inside your image and renamed to `setting.json`.
27
22
28
23
**Each configuration parameter can also be set via an environment variable**, using the syntax `"${ENV_VAR}"` or `"${ENV_VAR:default_value}"`. For details, refer to `settings.json.template`.
29
24
30
-
## Rebuilding including some plugins
25
+
###Rebuilding including some plugins
31
26
If you want to install some plugins in your container, it is sufficient to list them in the ETHERPAD_PLUGINS build variable.
32
27
The variable value has to be a space separated, double quoted list of plugin names (see examples).
33
28
34
-
Some plugins will need personalized settings in the `settings.json` file. Just refer to the previous section, and include them in your custom `settings.json`.
29
+
Some plugins will need personalized settings. Just refer to the previous section, and include them in your custom `settings.json.docker`.
35
30
36
-
## Examples
31
+
###Examples
37
32
38
-
Build the latest development version:
33
+
Build a Docker image from the currently checked-out code:
docker run --detach --publish <DESIDERED_PORT>:9001 <YOUR_USERNAME>/etherpad
47
+
docker run --detach --publish <DESIRED_PORT>:9001 <YOUR_USERNAME>/etherpad
68
48
```
69
49
70
-
And point your browser to `http://<YOUR_IP>:<DESIDERED_PORT>`
50
+
And point your browser to `http://<YOUR_IP>:<DESIRED_PORT>`
71
51
72
-
# Options available by default
52
+
##Options available by default
73
53
74
-
The `settings.json` available by default enables some configuration to be set from the environment.
54
+
The `settings.json.docker` available by default enables some configuration to be set from the environment.
75
55
76
56
Available options:
57
+
77
58
*`TITLE`: The name of the instance
78
59
*`FAVICON`: favicon default name, or a fully specified URL to your own favicon
79
60
*`SKIN_NAME`: either `no-skin`, `colibris` or an existing directory under `src/static/skins`.
@@ -90,9 +71,10 @@ Available options:
90
71
*`DB_FILENAME`: in case `DB_TYPE` is `DirtyDB`, the database filename. Default: `var/dirty.db`
91
72
*`ADMIN_PASSWORD`: the password for the `admin` user (leave unspecified if you do not want to create it)
92
73
*`USER_PASSWORD`: the password for the first user `user` (leave unspecified if you do not want to create it)
74
+
*`TRUST_PROXY`: set to `true` if you are using a reverse proxy in front of Etherpad (for example: Traefik for SSL termination via Let's Encrypt). This will affect security and correctness of the logs if not done
93
75
*`LOGLEVEL`: valid values are `DEBUG`, `INFO`, `WARN` and `ERROR`
0 commit comments