Files
lam/.env
T
Bart Sjerps bd1f981ccb update
2026-06-18 16:16:04 +02:00

58 lines
2.4 KiB
Bash

#
# LAM setup
#
# skip LAM preconfiguration (lam.conf + config.cfg), values: (true/false)
# If set to true the other variables below have no effect.
# LAM_SKIP_PRECONFIGURE=false
# LAM configuration master password and password for server profile "lam"
# Use LAM_PASSWORD_FILE to read the value from a file (e.g. for Docker swarm: docker service create --secret LAM_PASSWORD -e LAM_PASSWORD_FILE=/run/secrets/LAM_PASSWORD ...)
LAM_PASSWORD=lam
# domain of LDAP database root entry, will be converted to dc=...,dc=...
LDAP_DOMAIN=homelab.lan
# LDAP base DN to overwrite value generated by LDAP_DOMAIN
LDAP_BASE_DN=dc=homelab,dc=lan
# LDAP users DN to overwrite value provided by LDAP_BASE_DN
LDAP_USERS_DN=ou=Users,dc=homelab,dc=lan
# LDAP groups DN to overwrite value provided by LDAP_BASE_DN
LDAP_GROUPS_DN=ou=Groups,dc=homelab,dc=lan
# LDAP server URL
LDAP_SERVER=ldap://eagle.lan:389
# LDAP admin user (set as login user for LAM)
# Use LDAP_USER_FILE to read the value from a file (e.g. for Docker swarm: docker service create --secret LDAP_USER -e LDAP_USER_FILE=/run/secrets/LDAP_USER ...)
LDAP_USER=cn=Manager,dc=homelab,dc=lan
# default language, e.g. en_US, de_DE, fr_FR, ...
LAM_LANG=en_US
# run cron jobs (LAM Pro)
LAM_CONFIGURE_CRON=true
# configuration database (files or mysql)
LAM_CONFIGURATION_DATABASE=mysql
# MySQL server if database is mysql
LAM_CONFIGURATION_HOST=pg01.lan
# MySQL port if database is mysql
LAM_CONFIGURATION_PORT=3306
# MySQL user name if database is mysql
LAM_CONFIGURATION_USER=lam
# MySQL password if database is mysql
# Use LAM_CONFIGURATION_PASSWORD_FILE to read the value from a file (e.g. for Docker swarm: docker service create --secret LAM_CONFIGURATION_PASSWORD -e LAM_CONFIGURATION_PASSWORD_FILE=/run/secrets/LAM_CONFIGURATION_PASSWORD ...)
LAM_CONFIGURATION_PASSWORD=lam
# MySQL database name if database is mysql
LAM_CONFIGURATION_DATABASE_NAME=lam
# LAM Pro license (line breaks can be removed)
# Use LAM_LICENSE_FILE to read the value from a file (e.g. for Docker swarm: docker service create --secret LAM_LICENSE -e LAM_LICENSE_FILE=/run/secrets/LAM_LICENSE ...)
LAM_LICENSE=
# deactivate TLS certificate checks, activate for development only
LAM_DISABLE_TLS_CHECK=false
#
# docker-compose only, LDAP server setup
#
# LDAP organisation name for OpenLDAP
LDAP_ORGANISATION=Dirty Cache
# LDAP admin password
LDAP_ADMIN_PASSWORD=secret
# password for LDAP read-only user
LDAP_READONLY_USER_PASSWORD=