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
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,11 +42,11 @@ Example script:
42
42
#### Use autogenerated certificate
43
43
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).
44
44
45
-
docker run --hostname phpldapadmin.my-compagny.com --detach osixia/phpldapadmin
45
+
docker run --hostname phpldapadmin.my-company.com --detach osixia/phpldapadmin:0.6.7
46
46
47
47
#### Use your own certificate
48
48
49
-
You can set your custom certificate at run time, by mouting a directory containing those files to **/container/service/phpldapadmin/assets/apache2/certs** and adjust their name with the following environment variables:
49
+
You can set your custom certificate at run time, by mounting a directory containing those files to **/container/service/phpldapadmin/assets/apache2/certs** and adjust their name with the following environment variables:
50
50
51
51
docker run --volume /path/to/certifates:/container/service/phpldapadmin/assets/apache2/certs \
@@ -59,7 +59,7 @@ Other solutions are available please refer to the [Advanced User Guide](#advance
59
59
#### Disable HTTPS
60
60
Add --env PHPLDAPADMIN_HTTPS=false to the run command :
61
61
62
-
docker run --env PHPLDAPADMIN_HTTPS=false --detach osixia/phpldapadmin
62
+
docker run --env PHPLDAPADMIN_HTTPS=false --detach osixia/phpldapadmin:0.6.7
63
63
64
64
## Environment Variables
65
65
@@ -145,9 +145,9 @@ Environment variables can be set by adding the --env argument in the command lin
145
145
146
146
#### Link environment file
147
147
148
-
For example if your environment file is in : /data/phpLDAPadmin/environment/my-env.yaml
148
+
For example if your environment file is in : /data/environment/my-env.yaml
149
149
150
-
docker run --volume /data/phpLDAPadmin/environment/my-env.yaml:/container/environment/01-custom/env.yaml \
150
+
docker run --volume /data/environment/my-env.yaml:/container/environment/01-custom/env.yaml \
151
151
--detach osixia/phpldapadmin:0.6.7
152
152
153
153
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).
0 commit comments