Sign inSign up

lanycrost/fusiondirectory

By lanycrost

Updated about 8 years ago

FusionDirectory LDAP Manager w/S6 Overlay, Nginx, PHP7 based on Alpine.

Image
0

10K+

lanycrost/fusiondirectory repository overview

Fusion Directory Docker image

Build Status Docker Pulls Docker Stars Docker Layers

Introduction

This will build a container for Fusion Directory a Directory Manager frontend for LDAP.

Additional Components Inside are Nginx, PHP7.2, LDAP extensions, TODO Certbot

Table of Contents

Prerequisites

You must have use the accompanying lanycrost/openldap image with matching version number for the correct schema to operate!

Installation

Automated builds of the image are available on Docker Hub and is the recommended method of installation.

docker pull lanycrost/fusiondirectory

Quick Start

Make sure you have installed the appropriate schemas on the LDAP Server.

Configuration

Persistent Storage

If you would like to add custom HTML such as themes into Fusiondirectory map your folder that follows the /www/fusiondirectory/html structure into /assets/fusiondirectory and the script will overwrite upon bootup.

If you have custom plugins, map a folder to /assets/plugins-custom/ and they will be automatically added to the container upon startup.

Environment Variables

You can connect to multiple LDAP servers by setting the following environment variables. Simply Add as many LDAP(x) Variables for the amount of servers you wish to manage.

ParameterDescription
LDAP1_NAMEThe instance Name e.g. production
LDAP1_HOSTHostname with the openldap-fusiondirectory service running e.g. openldap-fusiondirectory
LDAP1_TLS(optional) Use TLS TRUE or FALSE - Default false
LDAP1_PORT(optional) Port number - Default 389 unless TLS=TRUE 636
LDAP1_ADMIN_PASScn=admin,dc=example,dc=org Password e.g. password
LDAP1_ADMIN_DNThe Primary DN to Manage e.g. cn=admin,dc=example,dc=org
LDAP1_BASE_DNThe Primary Base DN to Manage e.g. dc=example,dc=org
LDAP2_NAMEThe Instance Name (e.g. development)
LDAP2_HOSTThe Second Domain Hostname with the openldap-fusiondirectory service running (e.g. openldap-fusiondirectory)
LDAP2_TLS(optional) Use TLS TRUE or FALSE - Default false
LDAP2_PORT(optional) Port number - Default 389 unless TLS=TRUE 636
LDAP2_ADMIN_PASScn=admin,dc=example,dc=org Password e.g. password
LDAP2_ADMIN_DNThe second Admin DN e.g. cn=admin,dc=example,dc=org
LDAP2_BASE_DNThe second BASE DN e.g. dc=example,dc=org
LDAP_DEFAULTThe Default Instance to show on Login Page e.g. production - Default LDAP1_NAME
Plugins

Enable various plugins. Please see the FusionDirectory Site for configuration options. Depending on the Plugin enabled, various dependent plugins will automatically be installed. NOTE: you must have the schema's installed on the LDAP server otherwise you will face errors!

ParameterDescription
ENABLE_ARGONAUTEnable Argonaut Server - Default: FALSE
ENABLE_AUDIT_LOG_CLEANUPEnable scheduled Audit Log Cleanups - Default TRUE if plugin enabled
ENABLE_USER_REMINDEREnable scheduled User Reminder emails - Default TRUE if plugin enabled
AUDIT_LOG_CLEANUP_CRON_EXPCron expression for when to run Audit log cleanup - Default 0 0 * * *
USER_REMINDER_CLEANUP_CRON_EXPCron expression for when to send user reminder emails log cleanup - Default 0 0 * * *
PLUGIN_ALIASMail Aliases - Default: FALSE
PLUGIN_APPLICATIONSApplications - Default: FALSE
PLUGIN_ARGONAUTArgonaut - Default: FALSE
PLUGIN_AUDITAudit Trail - Default: FALSE
PLUGIN_AUTOFSAutoFS - Default: FALSE
PLUGIN_CERTIFICATESManage Certificates - Default: FALSE
PLUGIN_COMMUNITYCommunity Plugin - Default: FALSE
PLUGIN_CYRUSCyrus IMAP - Default: FALSE
PLUGIN_DEBCONFArgonaut Debconf - Default: FALSE
PLUGIN_DEVELOPERSDevelopers Plugin - Default: FALSE
PLUGIN_DHCPManage DHCP - Default: FALSE
PLUGIN_DNSManage DNS - Default: FALSE
PLUGIN_DOVECOTDovecot IMAP - Default: FALSE
PLUGIN_DSASystem Accounts - Default: FALSE
PLUGIN_EJBCAUnknown - Default: FALSE
PLUGIN_FAIUnknown - Default: FALSE
PLUGIN_FREERADIUSFreeRadius Management - Default: FALSE
PLUGIN_FUSIONINVENTORYInventory Plugin - Default: FALSE
PLUGIN_GPGManage GPG Keys - Default: FALSE
PLUGIN_IPMIIPMI Management - Default: FALSE
PLUGIN_LDAPDUMPLDAP Attribute Export - Default: FALSE
PLUGIN_LDAPMANAGERImport/Export CSV/LDIF - Default: FALSE
PLUGIN_MAILMail Attributes - Default: FALSE
PLUGIN_MIXEDGROUPSUnix/LDAP Groups - Default: FALSE
PLUGIN_NAGIOSNagios Monitoring - Default: FALSE
PLUGIN_NETGROUPSNIS - Default: FALSE
PLUGIN_NEWSLETTERManage Newsletters - Default: FALSE
PLUGIN_OPSIInventory - Default: FALSE
PLUGIN_PERSONALPersonal Details - Default: FALSE
PLUGIN_POSIXPosix Groups - Default: FALSE
PLUGIN_POSTFIXPostfix SMTP - Default: FALSE
PLUGIN_PPOLICYPassword Policy - Default: FALSE
PLUGIN_PUPPETPuppet CI - Default: FALSE
PLUGIN_PUREFTPDFTP Server - Default: FALSE
PLUGIN_QUOTAManage Quotas - Default: FALSE
PLUGIN_RENATER_PARTAGEUnknown - Default: FALSE
PLUGIN_REPOSITORYArgonaut Deployment Registry - Default: FALSE
PLUGIN_SAMBAFile Sharing - Default: FALSE
PLUGIN_SOGOGroupware - Default: FALSE
PLUGIN_SPAMASSASSINAnti Spam - Default: FALSE
PLUGIN_SQUIDProxy - Default: FALSE
PLUGIN_SSHManage SSH Keys - Default: FALSE
PLUGIN_SUBCONTRACTINGUnknown - Default: FALSE
PLUGIN_SUDOManage SUDO on Hosts - Default: FALSE
PLUGIN_SUPANNSUPANN - Default: FALSE
PLUGIN_SYMPASympa Mailing List - Default: FALSE
PLUGIN_SYSTEMSSystems Management - Default: FALSE
PLUGIN_USER_REMINDERPassword Expiry - Default: FALSE
PLUGIN_WEBLINKDisplay Weblink - Default: FALSE
Networking

The following ports are exposed.

PortDescription
80HTTP
443HTTPS

Maintenance

Shell Access

For debugging and maintenance purposes you may want access the containers shell.

docker exec -it (whatever your container name is e.g. fusiondirectory) bash

Authors

References

Tag summary

Content type

Image

Digest

Size

138.5 MB

Last updated

about 8 years ago

docker pull lanycrost/fusiondirectory