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
@@ -69,7 +67,7 @@ but setting your own config.php is possible. 2 options:
69
67
70
68
- Link your config file at run time to `/container/service/phpldapadmin/assets/config.php` :
71
69
72
-
docker run --volume /data/my-config.php:/container/service/phpldapadmin/assets/config.php --detach osixia/phpldapadmin:0.6.8
70
+
docker run --volume /data/my-config.php:/container/service/phpldapadmin/assets/config.php --detach osixia/phpldapadmin:0.6.9
73
71
74
72
- Add your config file by extending or cloning this image, please refer to the [Advanced User Guide](#advanced-user-guide)
75
73
@@ -78,7 +76,7 @@ but setting your own config.php is possible. 2 options:
78
76
#### Use autogenerated certificate
79
77
By default HTTPS is enable, a certificate is created with the container hostname (it can be set by docker run --hostname option eg: phpldapadmin.my-company.com).
80
78
81
-
docker run --hostname phpldapadmin.my-company.com --detach osixia/phpldapadmin:0.6.8
79
+
docker run --hostname phpldapadmin.my-company.com --detach osixia/phpldapadmin:0.6.9
82
80
83
81
#### Use your own certificate
84
82
@@ -88,22 +86,22 @@ You can set your custom certificate at run time, by mounting a directory contain
Other solutions are available please refer to the [Advanced User Guide](#advanced-user-guide)
94
92
95
93
#### Disable HTTPS
96
94
Add --env PHPLDAPADMIN_HTTPS=false to the run command :
97
95
98
-
docker run --env PHPLDAPADMIN_HTTPS=false --detach osixia/phpldapadmin:0.6.8
96
+
docker run --env PHPLDAPADMIN_HTTPS=false --detach osixia/phpldapadmin:0.6.9
99
97
100
98
### Fix docker mounted file problems
101
99
102
100
You may have some problems with mounted files on some systems. The startup script try to make some file adjustment and fix files owner and permissions, this can result in multiple errors. See [Docker documentation](https://docs.docker.com/v1.4/userguide/dockervolumes/#mount-a-host-file-as-a-data-volume).
103
101
104
102
To fix that run the container with `--copy-service` argument :
105
103
106
-
docker run [your options] osixia/phpldapadmin:0.6.8 --copy-service
104
+
docker run [your options] osixia/phpldapadmin:0.6.9 --copy-service
107
105
108
106
### Debug
109
107
@@ -112,11 +110,11 @@ Available levels are: `none`, `error`, `warning`, `info`, `debug` and `trace`.
112
110
113
111
Example command to run the container in `debug` mode:
114
112
115
-
docker run --detach osixia/phpldapadmin:0.6.8 --loglevel debug
113
+
docker run --detach osixia/phpldapadmin:0.6.9 --loglevel debug
116
114
117
115
See all command line options:
118
116
119
-
docker run osixia/phpldapadmin:0.6.8 --help
117
+
docker run osixia/phpldapadmin:0.6.9 --help
120
118
121
119
## Environment Variables
122
120
@@ -169,7 +167,7 @@ See how to [set your own environment variables](#set-your-own-environment-variab
169
167
170
168
If you want to set this variable at docker run command add the tag `#PYTHON2BASH:` and convert the yaml in python:
- **PHPLDAPADMIN_HTTPS_CA_CRT_FILENAME**: Apache ssl CA certificate filename. Defaults to `ca.crt`
184
182
183
+
Reverse proxy HTTPS :
184
+
- **PHPLDAPADMIN_TRUST_PROXY_SSL**: Set to `true` to trust X-Forwarded-Proto header
185
+
185
186
Ldap client TLS/LDAPS :
186
187
187
188
- **PHPLDAPADMIN_LDAP_CLIENT_TLS**: Enable ldap client tls config, ldap serveur certificate check and set client certificate. Defaults to `true`
@@ -202,14 +203,14 @@ Other environment variables:
202
203
Environment variables can be set by adding the --env argument in the command line, for example:
203
204
204
205
docker run --env PHPLDAPADMIN_LDAP_HOSTS="ldap.example.org" \
205
-
--detach osixia/phpldapadmin:0.6.8
206
+
--detach osixia/phpldapadmin:0.6.9
206
207
207
208
#### Link environment file
208
209
209
210
For example if your environment file is in : /data/environment/my-env.yaml
210
211
211
212
docker run --volume /data/environment/my-env.yaml:/container/environment/01-custom/env.yaml \
212
-
--detach osixia/phpldapadmin:0.6.8
213
+
--detach osixia/phpldapadmin:0.6.9
213
214
214
215
Take care to link your environment file to `/container/environment/XX-somedir` (with XX < 99 so they will be processed before default environment files) and not directly to `/container/environment` because this directory contains predefined baseimage environment files to fix container environment (INITRD, LANG, LANGUAGE and LC_CTYPE).
215
216
@@ -219,13 +220,13 @@ This is the best solution if you have a private registry. Please refer to the [A
219
220
220
221
## Advanced User Guide
221
222
222
-
### Extend osixia/phpldapadmin:0.6.8 image
223
+
### Extend osixia/phpldapadmin:0.6.9 image
223
224
224
225
If you need to add your custom TLS certificate, bootstrap config or environment files the easiest way is to extends this image.
Warning: if you want to install new packages from debian repositories, this image has a configuration to prevent documentation and locales to be installed. If you need documentation and locales remove the following files :
239
+
**/etc/dpkg/dpkg.cfg.d/01_nodoc** and **/etc/dpkg/dpkg.cfg.d/01_nolocales**
240
+
237
241
### Make your own phpLDAPadmin image
238
242
239
243
Clone this project :
@@ -244,7 +248,7 @@ Clone this project :
244
248
Adapt Makefile, set your image NAME and VERSION, for example :
0 commit comments