Skip to content

Attempt to bring this into a working state again

Notifications You must be signed in to change notification settings

jovoro/docker-horde

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Horde Groupware docker image

Serves Horde Groupware as docker image. It's installation is PEAR based, applying docker best practices and official php docker image.

Configuration

Initial configuration requires a MySQL database to be initialized using HORDE's webmail-install migration script. Its logic is changed because it is an attended scrpit, so DB configuration is loaded from environment variables and then populated with corresponding tables. Once database migrations are run, Apache will start and horde can be tested.

Sample compose configuration

This repo includes a sample docker-compose.yml that will start a Mysql 5.7 database and start Horde. It's iportant to note that Horde will fail to start until Mysql is started. Using docker restart policy, horde's container will be flapping until Mysql starts

About proposed volumes

Horde configuration can be saved from UI once containers are started. If you are going to configure Horde using its UI, its important to define volumes for configuration files. If this will be the case, then remember to backup your volumes. Propose volumes are listed inside docker-compose.yml for each directory containing Horde's modules configurations.

Configuration variables

  • ENV HORDE_SQL_PORT:
  • HORDE_SQL_DATABASE:
  • HORDE_SQL_USERNAME:
  • HORDE_SQL_PASSWORD:
  • HORDE_SQL_HOST:
  • HORDE_THEME:
  • HORDE_THEME_LOCKED:
  • IMP_HOSTSPEC:
  • IMP_MAILDOMAIN:
  • IMP_HORDEAUTH:
  • IMP_PROTOCOL:
  • IMP_PORT:
  • IMP_SECURE:
  • INGO_IMAP_DISABLED:
  • INGO_SIEVE_DISABLED:
  • INGO_SIEVE_HOST:
  • INGO_SIEVE_USETLS:
  • INGO_SIEVE_UTF8:

TODO

  • Explain how to run cron jobs
  • Errors not to be shown in browser
  • Document in README env vars for IMP and INGO
  • Explain how uninitialized configuration volumes are populated and why we do this

About

Attempt to bring this into a working state again

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 54.3%
  • Dockerfile 36.6%
  • Shell 9.1%