Skip to content

Commit 090a501

Browse files
committed
docs
1 parent b6b80d3 commit 090a501

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ Example script:
4242
#### Use autogenerated certificate
4343
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).
4444

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
4646

4747
#### Use your own certificate
4848

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:
5050

5151
docker run --volume /path/to/certifates:/container/service/phpldapadmin/assets/apache2/certs \
5252
--env PHPLDAPADMIN_HTTPS_CRT_FILENAME=my-phpldapadmin.crt \
@@ -59,7 +59,7 @@ Other solutions are available please refer to the [Advanced User Guide](#advance
5959
#### Disable HTTPS
6060
Add --env PHPLDAPADMIN_HTTPS=false to the run command :
6161

62-
docker run --env PHPLDAPADMIN_HTTPS=false --detach osixia/phpldapadmin
62+
docker run --env PHPLDAPADMIN_HTTPS=false --detach osixia/phpldapadmin:0.6.7
6363

6464
## Environment Variables
6565

@@ -145,9 +145,9 @@ Environment variables can be set by adding the --env argument in the command lin
145145

146146
#### Link environment file
147147

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
149149

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 \
151151
--detach osixia/phpldapadmin:0.6.7
152152

153153
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).

image/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ ENV PHPLDAPADMIN_SHA1 669fca66c75e24137e106fdd02e3832f81146e23
88
# Add multiple process stack to supervise apache2 and php5-fpm
99
# sources: https://github.com/osixia/docker-light-baseimage/blob/stable/image/tool/add-multiple-process-stack
1010
# https://github.com/osixia/docker-light-baseimage/blob/stable/image/tool/add-service-available
11-
#  https://github.com/osixia/docker-web-baseimage/blob/stable/image/service-available/.apache2/download.sh
12-
# https://github.com/osixia/docker-web-baseimage/blob/stable/image/service-available/.php5-fpm/download.sh
11+
#  https://github.com/osixia/docker-web-baseimage/blob/stable/image/service-available/:apache2/download.sh
12+
# https://github.com/osixia/docker-web-baseimage/blob/stable/image/service-available/:php5-fpm/download.sh
1313
# Install ca-certificates, curl and php dependencies
1414
# Download phpLDAPadmin, check file integrity, and unzip phpLDAPadmin to /var/www/phpldapadmin_bootstrap
1515
# Remove curl
@@ -38,7 +38,7 @@ RUN /container/tool/install-service \
3838
&& apt-get clean \
3939
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
4040

41-
# Add default env variables
41+
# Add default env variables
4242
ADD environment /container/environment/99-default
4343

4444
# Set phpLDAPadmin data directory in a data volume

0 commit comments

Comments
 (0)