Skip to content

owncloud-ops/limesurvey

Repository files navigation

limesurvey

Build Status Docker Hub Quay.io

Custom container image for LimeSurvey.

Ports

  • 8080

Volumes

  • /var/www/app/upload
  • /var/www/app/plugins

Environment Variables

LIME_ADMIN_USER=admin
LIME_ADMIN_PASSWORD=
LIME_ADMIN_NAME=Administrator
[email protected]
[email protected]

LIME_DB_USERNAME=limesurvey
LIME_DB_PASSWORD=limesurvey
LIME_DB_HOST=mariadb
LIME_DB_PORT=3306
LIME_DB_NAME=limesurvey
LIME_DB_CHARSET=utf8mb4

LIME_MAILER_URL=mx.example.com
LIME_MAILER_PORT=465
LIME_MAILER_USER=sender
LIME_MAILER_PASSWORD=
LIME_MAILER_ENCRYPTION=ssl
LIME_MAILER_PROTOCOL=smtp

LIME_ENCRYPTION_KEYPAIR=
LIME_ENCRYPTION_PUBLIC_KEY=
LIME_ENCRYPTION_SECRET_KEY=
LIME_ENCRYPTION_NONCE=
LIME_ENCRYPTION_SECRET_BOX_KEY=

LIME_SSL_DISABLE_ALERT=false

# This variable need to be set to enable LDAP queries
LIME_LDAP_QUERY_SERVER=
LIME_LDAP_QUERY_PORT=389
LIME_LDAP_QUERY_ENCRYPTION=none
LIME_LDAP_QUERY_PROTOVERSION=ldapv2
LIME_LDAP_QUERY_REFERALS=false
LIME_LDAP_QUERY_BINDDN=
LIME_LDAP_QUERY_BINDPW=
LIME_LDAP_QUERY_GROUPLIST=

LIME_LDAP_QUERY_<LIME_LDAP_QUERY_GROUPLIST_ITEM>_NAME=
LIME_LDAP_QUERY_<LIME_LDAP_QUERY_GROUPLIST_ITEM>_USERBASE=
LIME_LDAP_QUERY_<LIME_LDAP_QUERY_GROUPLIST_ITEM>_USERFILTER=(&(objectClass=inetOrgPerson))
LIME_LDAP_QUERY_<LIME_LDAP_QUERY_GROUPLIST_ITEM>_USERSCOPE=sub
LIME_LDAP_QUERY_<LIME_LDAP_QUERY_GROUPLIST_ITEM>_FIRSTNAME_ATTR=givenname
LIME_LDAP_QUERY_<LIME_LDAP_QUERY_GROUPLIST_ITEM>_LASTNAME_ATTR=sn
LIME_LDAP_QUERY_<LIME_LDAP_QUERY_GROUPLIST_ITEM>_EMAIL_ATTR=mail

LIME_DEBUG=0
LIME_DEBUG_SQL=0

Build

You could use the BUILD_VERSION to specify the target version.

docker build -f Dockerfile -t limesurvey:latest .

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.