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: CHANGELOG.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,7 +51,7 @@ Update to light-baseimage:0.2.2
51
51
52
52
##Β 1.1.0
53
53
Update to light-baseimage:0.2.1 :
54
-
- Use \*.yaml.startup environment files to keep configuration secrets
54
+
- Use \*.startup.yaml environment files to keep configuration secrets
55
55
- Use cfssl tool to generate tls certs
56
56
- Use log-helper to write leveled log messages
57
57
- Allow copy of /container/service and mounted files to /container/run/service dir usefull for write only filesystems and avoid file permissions problems
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
@@ -29,7 +29,7 @@ A docker image to run OpenLDAP.
29
29
- [Debug](#debug)
30
30
-[Environment Variables](#environment-variables)
31
31
- [Default.yaml](#defaultyaml)
32
-
- [Default.yaml.startup](#defaultyamlstartup)
32
+
- [Default.startup.yaml](#defaultyamlstartup)
33
33
- [Set your own environment variables](#set-your-own-environment-variables)
34
34
- [Use command line argument](#use-command-line-argument)
35
35
- [Link environment file](#link-environment-file)
@@ -214,7 +214,7 @@ See all command line options:
214
214
215
215
216
216
## Environment Variables
217
-
Environment variables defaults are set in **image/environment/default.yaml** and **image/environment/default.yaml.startup**.
217
+
Environment variables defaults are set in **image/environment/default.yaml** and **image/environment/default.startup.yaml**.
218
218
219
219
See how to [set your own environment variables](#set-your-own-environment-variables)
220
220
@@ -224,7 +224,7 @@ Variables defined in this file are available at anytime in the container environ
224
224
General container configuration:
225
225
-**LDAP_LOG_LEVEL**: Slap log level. defaults to `256`. See table 5.1 in http://www.openldap.org/doc/admin24/slapdconf2.html for the available log levels.
226
226
227
-
### Default.yaml.startup
227
+
### Default.startup.yaml
228
228
Variables defined in this file are only available during the container **first start** in **startup files**.
229
229
This file is deleted right after startup files are processed for the first time,
230
230
then all of these values will not be available in the container environment.
@@ -296,14 +296,14 @@ he will be able to read the admin password in clear text from environment variab
296
296
297
297
#### Link environment file
298
298
299
-
For example if your environment files **my-env.yaml** and **my-env.yaml.startup** are in /data/ldap/environment
299
+
For example if your environment files **my-env.yaml** and **my-env.startup.yaml** are in /data/ldap/environment
300
300
301
301
docker run --volume /data/ldap/environment:/container/environment/01-custom \
302
302
--detach osixia/openldap:1.1.6
303
303
304
304
Take care to link your environment files folder 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).
305
305
306
-
Note: the container will try to delete the **\*.yaml.startup** file after the end of startup files so the file will also be deleted on the docker host. To prevent that : use --volume /data/ldap/environment:/container/environment/01-custom**:ro** or set all variables in **\*.yaml** file and don't use **\*.yaml.startup**:
306
+
Note: the container will try to delete the **\*.startup.yaml** file after the end of startup files so the file will also be deleted on the docker host. To prevent that : use --volume /data/ldap/environment:/container/environment/01-custom**:ro** or set all variables in **\*.yaml** file and don't use **\*.startup.yaml**:
307
307
308
308
docker run --volume /data/ldap/environment/my-env.yaml:/container/environment/01-custom/env.yaml \
0 commit comments