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: README.md
+44-16Lines changed: 44 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,8 @@ of this parameter has the format `<VARIABLE_NAME>=<VALUE>`.
77
77
|`CLEAN_TMP_DIR`| When set to `1`, all files in the `/tmp` directory are delete during the container startup. |`1`|
78
78
|`DISPLAY_WIDTH`| Width (in pixels) of the application's window. |`1280`|
79
79
|`DISPLAY_HEIGHT`| Height (in pixels) of the application's window. |`768`|
80
-
|`VNC_PASSWORD`| Password needed to connect to the application's GUI. See the [VNC Pasword](#vnc-password) section for more details. | (unset) |
80
+
|`SECURE_CONNECTION`| When set to `1`, an encrypted connection is used to access the application's GUI (either via web browser or VNC client). See the [Security](#security) section for more details. |`0`|
81
+
|`VNC_PASSWORD`| Password needed to connect to the application's GUI. See the [VNC Password](#vnc-password) section for more details. | (unset) |
81
82
|`X11VNC_EXTRA_OPTS`| Extra options to pass to the x11vnc server running in the Docker container. **WARNING**: For advanced users. Do not use unless you know what you are doing. | (unset) |
82
83
|`CRASHPLAN_SRV_MAX_MEM`| Maximum amount of memory the CrashPlan Engine is allowed to use. One of the following memory unit (case insensitive) should be added as a suffix to the size: `G`, `M` or `K`. By default, when this variable is not set, a maximum of 1024MB (`1024M`) of memory is allowed. | (unset) |
83
84
@@ -102,7 +103,7 @@ container cannot be changed, but you are free to use any port on the host side.
102
103
| Port | Mapping to host | Description |
103
104
|------|-----------------|-------------|
104
105
| 5800 | Mandatory | Port used to access the application's GUI via the web interface. |
105
-
| 5900 |Mandatory| Port used to access the application's GUI via the VNC protocol. |
106
+
| 5900 |Optional| Port used to access the application's GUI via the VNC protocol. Optional if no VNC client is used. |
106
107
107
108
## User/Group IDs
108
109
@@ -131,8 +132,8 @@ be given the container.
131
132
132
133
## Accessing the GUI
133
134
134
-
Assuming the host is mapped to the same ports as the container, the graphical
135
-
interface of the application can be accessed via:
135
+
Assuming that container's ports are mapped to the same host's ports, the
136
+
graphical interface of the application can be accessed via:
136
137
137
138
* A web browser:
138
139
```
@@ -144,28 +145,55 @@ http://<HOST IP ADDR>:5800
144
145
<HOST IP ADDR>:5900
145
146
```
146
147
147
-
If different ports are mapped to the host, make sure they respect the
148
-
following formula:
148
+
## Security
149
149
150
-
VNC_PORT = HTTP_PORT + 100
150
+
By default, access to the application's GUI is done over an unencrypted
151
+
connection (HTTP or VNC).
151
152
152
-
This is to make sure accessing the GUI with a web browser can be done without
153
-
specifying the VNC port manually. If this is not possible, then specify
154
-
explicitly the VNC port like this:
153
+
Secure connection can be enabled via the `SECURE_CONNECTION` environment
154
+
variable. See the [Environment Variables](#environment-variables) section for
155
+
more details on how to set an environment variable.
155
156
156
-
http://<HOST IP ADDR>:5800/?port=<VNC PORT>
157
+
When enabled, application's GUI is performed over an HTTPs connection when
158
+
accessed with a browser. All HTTP accesses are automatically redirected to
159
+
HTTPs.
157
160
158
-
## VNC Password
161
+
When using a VNC client, the VNC connection is performed over SSL. Note that
162
+
few VNC clients support this method. [SSVNC] is one of them.
163
+
164
+
### Certificates
165
+
166
+
Here are the certificate files needed by the container. By default, when they
167
+
are missing, self-signed certificates are generated and used. All files have
|`/config/certs/vnc-server.pem`|VNC connection encryption. |VNC server's private key and certificate, bundled with any root and intermediate certificates.|
0 commit comments