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
@@ -66,7 +68,7 @@ but setting your own config.php is possible. 2 options:
66
68
67
69
- Link your config file at run time to `/container/service/phpldapadmin/assets/config/config.php` :
68
70
69
-
docker run --volume /data/my-config.php:/container/service/phpldapadmin/assets/config/config.php --detach osixia/phpldapadmin:0.7.1
71
+
docker run --volume /data/my-config.php:/container/service/phpldapadmin/assets/config/config.php --detach osixia/phpldapadmin:0.7.2
70
72
71
73
- Add your config file by extending or cloning this image, please refer to the [Advanced User Guide](#advanced-user-guide)
72
74
@@ -75,7 +77,7 @@ but setting your own config.php is possible. 2 options:
75
77
#### Use autogenerated certificate
76
78
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).
77
79
78
-
docker run --hostname phpldapadmin.my-company.com --detach osixia/phpldapadmin:0.7.1
80
+
docker run --hostname phpldapadmin.my-company.com --detach osixia/phpldapadmin:0.7.2
79
81
80
82
#### Use your own certificate
81
83
@@ -85,22 +87,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)
91
93
92
94
#### Disable HTTPS
93
95
Add --env PHPLDAPADMIN_HTTPS=false to the run command :
94
96
95
-
docker run --env PHPLDAPADMIN_HTTPS=false --detach osixia/phpldapadmin:0.7.1
97
+
docker run --env PHPLDAPADMIN_HTTPS=false --detach osixia/phpldapadmin:0.7.2
96
98
97
99
### Fix docker mounted file problems
98
100
99
101
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).
100
102
101
103
To fix that run the container with `--copy-service` argument :
102
104
103
-
docker run [your options] osixia/phpldapadmin:0.7.1 --copy-service
105
+
docker run [your options] osixia/phpldapadmin:0.7.2 --copy-service
104
106
105
107
### Debug
106
108
@@ -109,11 +111,11 @@ Available levels are: `none`, `error`, `warning`, `info`, `debug` and `trace`.
109
111
110
112
Example command to run the container in `debug` mode:
111
113
112
-
docker run --detach osixia/phpldapadmin:0.7.1 --loglevel debug
114
+
docker run --detach osixia/phpldapadmin:0.7.2 --loglevel debug
113
115
114
116
See all command line options:
115
117
116
-
docker run osixia/phpldapadmin:0.7.1 --help
118
+
docker run osixia/phpldapadmin:0.7.2 --help
117
119
118
120
## Environment Variables
119
121
@@ -166,7 +168,7 @@ See how to [set your own environment variables](#set-your-own-environment-variab
166
168
167
169
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/
172
174
@@ -203,14 +205,14 @@ Other environment variables:
203
205
Environment variables can be set by adding the --env argument in the command line, for example:
204
206
205
207
docker run --env PHPLDAPADMIN_LDAP_HOSTS="ldap.example.org" \
206
-
--detach osixia/phpldapadmin:0.7.1
208
+
--detach osixia/phpldapadmin:0.7.2
207
209
208
210
#### Link environment file
209
211
210
212
For example if your environment file is in : /data/environment/my-env.yaml
211
213
212
214
docker run --volume /data/environment/my-env.yaml:/container/environment/01-custom/env.yaml \
213
-
--detach osixia/phpldapadmin:0.7.1
215
+
--detach osixia/phpldapadmin:0.7.2
214
216
215
217
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
218
@@ -220,13 +222,13 @@ This is the best solution if you have a private registry. Please refer to the [A
220
222
221
223
## Advanced User Guide
222
224
223
-
### Extend osixia/phpldapadmin:0.7.1 image
225
+
### Extend osixia/phpldapadmin:0.7.2 image
224
226
225
227
If you need to add your custom TLS certificate, bootstrap config or environment files the easiest way is to extends this image.
@@ -289,6 +291,11 @@ A kubernetes example is available in **example/kubernetes**
289
291
This image is based on osixia/web-baseimage.
290
292
More info: https://github.com/osixia/docker-web-baseimage
291
293
294
+
## Security
295
+
If you discover a security vulnerability within this docker image, please send an email to the Osixia! team at security@osixia.net. For minor vulnerabilities feel free to add an issue here on github.
0 commit comments