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
@@ -67,7 +67,7 @@ but setting your own config.php is possible. 2 options:
67
67
68
68
- Link your config file at run time to `/container/service/phpldapadmin/assets/config.php` :
69
69
70
-
docker run --volume /data/my-config.php:/container/service/phpldapadmin/assets/config.php --detach osixia/phpldapadmin:0.6.10
70
+
docker run --volume /data/my-config.php:/container/service/phpldapadmin/assets/config.php --detach osixia/phpldapadmin:0.6.11
71
71
72
72
- Add your config file by extending or cloning this image, please refer to the [Advanced User Guide](#advanced-user-guide)
73
73
@@ -76,7 +76,7 @@ but setting your own config.php is possible. 2 options:
76
76
#### Use autogenerated certificate
77
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).
78
78
79
-
docker run --hostname phpldapadmin.my-company.com --detach osixia/phpldapadmin:0.6.10
79
+
docker run --hostname phpldapadmin.my-company.com --detach osixia/phpldapadmin:0.6.11
80
80
81
81
#### Use your own certificate
82
82
@@ -86,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)
92
92
93
93
#### Disable HTTPS
94
94
Add --env PHPLDAPADMIN_HTTPS=false to the run command :
95
95
96
-
docker run --env PHPLDAPADMIN_HTTPS=false --detach osixia/phpldapadmin:0.6.10
96
+
docker run --env PHPLDAPADMIN_HTTPS=false --detach osixia/phpldapadmin:0.6.11
97
97
98
98
### Fix docker mounted file problems
99
99
100
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).
101
101
102
102
To fix that run the container with `--copy-service` argument :
103
103
104
-
docker run [your options] osixia/phpldapadmin:0.6.10 --copy-service
104
+
docker run [your options] osixia/phpldapadmin:0.6.11 --copy-service
105
105
106
106
### Debug
107
107
@@ -110,11 +110,11 @@ Available levels are: `none`, `error`, `warning`, `info`, `debug` and `trace`.
110
110
111
111
Example command to run the container in `debug` mode:
112
112
113
-
docker run --detach osixia/phpldapadmin:0.6.10 --loglevel debug
113
+
docker run --detach osixia/phpldapadmin:0.6.11 --loglevel debug
114
114
115
115
See all command line options:
116
116
117
-
docker run osixia/phpldapadmin:0.6.10 --help
117
+
docker run osixia/phpldapadmin:0.6.11 --help
118
118
119
119
## Environment Variables
120
120
@@ -167,7 +167,7 @@ See how to [set your own environment variables](#set-your-own-environment-variab
167
167
168
168
If you want to set this variable at docker run command add the tag `#PYTHON2BASH:` and convert the yaml in python:
To convert yaml to python online: http://yaml-online-parser.appspot.com/
173
173
@@ -195,23 +195,23 @@ Ldap client TLS/LDAPS :
195
195
More information at : http://www.openldap.org/doc/admin24/tls.html (16.2.2. Client Configuration)
196
196
197
197
Other environment variables:
198
-
- **PHPLDAPADMIN_CFSSL_PREFIX**: cfssl environment variables prefix. Defaults to `phpldapadmin`, cfssl-helper first search config from PHPLDAPADMIN_CFSSL_* variables, before CFSSL_* variables.
199
-
- **LDAP_CLIENT_CFSSL_PREFIX**: cfssl environment variables prefix. Defaults to `ldap`, cfssl-helper first search config from LDAP_CFSSL_* variables, before CFSSL_* variables.
198
+
- **PHPLDAPADMIN_SSL_HELPER_PREFIX**: ssl-helper environment variables prefix. Defaults to `phpldapadmin`, ssl-helper first search config from PHPLDAPADMIN_SSL_HELPER_* variables, before SSL_HELPER_* variables.
199
+
- **LDAP_CLIENT_SSL_HELPER_PREFIX**: ssl-helper environment variables prefix. Defaults to `ldap`, ssl-helper first search config from LDAP_SSL_HELPER_* variables, before SSL_HELPER_* variables.
200
200
201
201
### Set your own environment variables
202
202
203
203
#### Use command line argument
204
204
Environment variables can be set by adding the --env argument in the command line, for example:
205
205
206
206
docker run --env PHPLDAPADMIN_LDAP_HOSTS="ldap.example.org" \
207
-
--detach osixia/phpldapadmin:0.6.10
207
+
--detach osixia/phpldapadmin:0.6.11
208
208
209
209
#### Link environment file
210
210
211
211
For example if your environment file is in : /data/environment/my-env.yaml
212
212
213
213
docker run --volume /data/environment/my-env.yaml:/container/environment/01-custom/env.yaml \
214
-
--detach osixia/phpldapadmin:0.6.10
214
+
--detach osixia/phpldapadmin:0.6.11
215
215
216
216
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).
217
217
@@ -221,13 +221,13 @@ This is the best solution if you have a private registry. Please refer to the [A
221
221
222
222
## Advanced User Guide
223
223
224
-
### Extend osixia/phpldapadmin:0.6.10 image
224
+
### Extend osixia/phpldapadmin:0.6.11 image
225
225
226
226
If you need to add your custom TLS certificate, bootstrap config or environment files the easiest way is to extends this image.
0 commit comments