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.9
70
+
docker run --volume /data/my-config.php:/container/service/phpldapadmin/assets/config.php --detach osixia/phpldapadmin:0.6.10
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.9
79
+
docker run --hostname phpldapadmin.my-company.com --detach osixia/phpldapadmin:0.6.10
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.9
96
+
docker run --env PHPLDAPADMIN_HTTPS=false --detach osixia/phpldapadmin:0.6.10
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.9 --copy-service
104
+
docker run [your options] osixia/phpldapadmin:0.6.10 --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.9 --loglevel debug
113
+
docker run --detach osixia/phpldapadmin:0.6.10 --loglevel debug
114
114
115
115
See all command line options:
116
116
117
-
docker run osixia/phpldapadmin:0.6.9 --help
117
+
docker run osixia/phpldapadmin:0.6.10 --help
118
118
119
119
## Environment Variables
120
120
@@ -167,12 +167,13 @@ 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
174
174
Apache :
175
175
- **PHPLDAPADMIN_SERVER_ADMIN**: Server admin email. Defaults to `[email protected]`
176
+
- **PHPLDAPADMIN_SERVER_PATH**: Server path (usefull if behind a reverse proxy). Defaults to `/phpldapadmin`
176
177
177
178
HTTPS :
178
179
- **PHPLDAPADMIN_HTTPS**: Use apache ssl config. Defaults to `true`
@@ -203,14 +204,14 @@ Other environment variables:
203
204
Environment variables can be set by adding the --env argument in the command line, for example:
204
205
205
206
docker run --env PHPLDAPADMIN_LDAP_HOSTS="ldap.example.org" \
206
-
--detach osixia/phpldapadmin:0.6.9
207
+
--detach osixia/phpldapadmin:0.6.10
207
208
208
209
#### Link environment file
209
210
210
211
For example if your environment file is in : /data/environment/my-env.yaml
211
212
212
213
docker run --volume /data/environment/my-env.yaml:/container/environment/01-custom/env.yaml \
213
-
--detach osixia/phpldapadmin:0.6.9
214
+
--detach osixia/phpldapadmin:0.6.10
214
215
215
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).
216
217
@@ -220,13 +221,13 @@ This is the best solution if you have a private registry. Please refer to the [A
220
221
221
222
## Advanced User Guide
222
223
223
-
### Extend osixia/phpldapadmin:0.6.9 image
224
+
### Extend osixia/phpldapadmin:0.6.10 image
224
225
225
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