mirror of
				https://github.com/nitnelave/lldap.git
				synced 2023-04-12 14:25:13 +00:00 
			
		
		
		
	config: Add LLDAP_ prefix to env varribles
This commit is contained in:
		
							parent
							
								
									f0747ead2b
								
							
						
					
					
						commit
						c49f0e7483
					
				@ -1,6 +1,7 @@
 | 
				
			|||||||
## Default configuration for Docker.
 | 
					## Default configuration for Docker.
 | 
				
			||||||
## All the values can be overridden through environment variables. For
 | 
					## All the values can be overridden through environment variables, prefixed
 | 
				
			||||||
## instance, "ldap_port" can be overridden with the "LDAP_PORT" variable.
 | 
					## with "LLDAP_". For instance, "ldap_port" can be overridden with the
 | 
				
			||||||
 | 
					## "LLDAP_LDAP_PORT" variable.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## The port on which to have the LDAP server.
 | 
					## The port on which to have the LDAP server.
 | 
				
			||||||
#ldap_port = 3890
 | 
					#ldap_port = 3890
 | 
				
			||||||
@ -14,7 +15,7 @@
 | 
				
			|||||||
## servers that need to consume the JWTs.
 | 
					## servers that need to consume the JWTs.
 | 
				
			||||||
## Changing this secret will invalidate all user sessions and require
 | 
					## Changing this secret will invalidate all user sessions and require
 | 
				
			||||||
## them to re-login.
 | 
					## them to re-login.
 | 
				
			||||||
## You should probably set it through the JWT_SECRET environment
 | 
					## You should probably set it through the LLDAP_JWT_SECRET environment
 | 
				
			||||||
## variable from a secret ".env" file.
 | 
					## variable from a secret ".env" file.
 | 
				
			||||||
## You can generate it with (on linux):
 | 
					## You can generate it with (on linux):
 | 
				
			||||||
## LC_ALL=C tr -dc 'A-Za-z0-9!"#%&'\''()*+,-./:;<=>?@[\]^_{|}~' </dev/urandom | head -c 32; echo ''
 | 
					## LC_ALL=C tr -dc 'A-Za-z0-9!"#%&'\''()*+,-./:;<=>?@[\]^_{|}~' </dev/urandom | head -c 32; echo ''
 | 
				
			||||||
@ -39,7 +40,7 @@
 | 
				
			|||||||
## Password for the admin account, both for the LDAP bind and for the
 | 
					## Password for the admin account, both for the LDAP bind and for the
 | 
				
			||||||
## administration interface.
 | 
					## administration interface.
 | 
				
			||||||
## It should be minimum 8 characters long.
 | 
					## It should be minimum 8 characters long.
 | 
				
			||||||
## You can set it with the LDAP_USER_PASS environment variable.
 | 
					## You can set it with the LLDAP_LDAP_USER_PASS environment variable.
 | 
				
			||||||
## Note: you can create another admin user for LDAP/administration, this
 | 
					## Note: you can create another admin user for LDAP/administration, this
 | 
				
			||||||
## is just the default one.
 | 
					## is just the default one.
 | 
				
			||||||
#ldap_user_pass = "REPLACE_WITH_PASSWORD"
 | 
					#ldap_user_pass = "REPLACE_WITH_PASSWORD"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user