Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

How to create an environment variable with < and > symbols?

Featured Replies

I'm trying to run lldap container with smtp. The variables LLDAP_SMTP_OPTIONS__FROM and LLDAP_SMTP_OPTIONS__TO lose the < and > symbols when running the container. When editing the template, they also disappear. 

 

docker run
  -d
  --name='lldap'
  --net='bridge'
  --pids-limit 2048
  -e TZ="Asia/Vladivostok"
  -e HOST_OS="Unraid"
  -e HOST_HOSTNAME="unraid"
  -e HOST_CONTAINERNAME="lldap"
  -e 'UID'='99'
  -e 'GID'='100'
  -e 'LLDAP_JWT_SECRET'='secret_jwt_secret'
  -e 'LLDAP_KEY_SEED'='secret_key_seed'
  -e 'LLDAP_LDAP_BASE_DN'='dc=example,dc=com'
  -e 'LLDAP_LDAP_USER_DN'='admin'
  -e 'LLDAP_LDAP_USER_EMAIL'='[email protected]'
  -e 'LLDAP_LDAP_USER_PASS'='secret_admin_password'
  -e 'LLDAP_DATABASE_URL'='postgres://lldap:lldap@postgresql/lldap'
  -e 'LLDAP_SMTP_OPTIONS__ENABLE_PASSWORD_RESET'='true'
  -e 'LLDAP_SMTP_OPTIONS__SERVER'='smtp.gmail.com'
  -e 'LLDAP_SMTP_OPTIONS__PORT'='587'
  -e 'LLDAP_SMTP_OPTIONS__SMTP_ENCRYPTION'='TLS'
  -e 'LLDAP_SMTP_OPTIONS__USER'='[email protected]'
  -e 'LLDAP_SMTP_OPTIONS__PASSWORD'='secret_smtp_password'
  -e 'LLDAP_SMTP_OPTIONS__FROM'='no-reply [email protected]'
  -e 'LLDAP_SMTP_OPTIONS__TO'='admin [email protected]'
  -l net.unraid.docker.managed=dockerman
  -l net.unraid.docker.webui='http://[IP]:[PORT:17170]/'
  -p '17170:17170/tcp'
  -v '/mnt/user/appdata/lldap/data':'/data':'rw' 'lldap/lldap'

 

  • 5 months later...

Bump on this thread because I am having the same issue. In my case, this is a problem for a container requiring and environment variable to set the SMTP sender in the format "Name <[email protected]>"

I cannot seem to find a way to make Unraid not strip these characters- escaping with \ does not work, single/double/backtick quotes don't work, and manually writing the '-e' in extra parameters suffers the same fate.

Any tips greatly appreciated.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.