Sign inSign up

computersciencehouse/zammad-elasticsearch

By computersciencehouse

•Updated over 5 years ago

Customized Elasticsearch image for Zammad

Image
1

1.2K

computersciencehouse/zammad-elasticsearch repository overview

⁠DEPRECATED

The issues this container was intended to solve have been addressed in the official images. Please consider using the offical images⁠ instead.

⁠Zammad Docker

Docker images for the Zammad⁠ open source helpdesk/customer support system. Inspired by the official images⁠.

⁠Contents

This repository contains the build contexts for 2 images:

The included docker-compose.yml will orchestrate these containers into a fully functioning instance of Zammad.

⁠Usage

⁠elasticsearch

See Elastic's documentation⁠. Changes: removed X-Pack, added mapper-attachments.

Exposes Elasticsearch on port 9200.

⁠zammad

The zammad container can be configured with the following environment variables:

VariableDescriptionRequired
DB_ADAPTERDatabase adapter to use (options: postgresql, mysql2)Yes
DB_HOSTNAMEHostname of the database container or serverYes
DB_PORTPort of the database server (defaults to the adapter's default port)No
DB_NAMEName of the databaseYes
DB_USERNAMEUsername for the database userYes
DB_PASSWORDPassword for the database userNo
ES_HOSTNAMEHostname of the elasticsearch container or external serverYes
ES_PORTPort number of the Elasticsearch server (default: 9200)Yes

Exposes Nginx on port 8080. Internally, the Rails server (Puma) and the websockets server run on ports 3000 and 6042, respectively.

⁠Persistence

Two volumes are required for proper persistence:

VolumeContainerMount PointDescription
zammad-datazammad/opt/zammad/storageAttachments
zammad-elasticsearchelasticsearch/usr/share/elasticsearch/dataElasticsearch data

See docker-compose.yml for an example.

⁠Differences

This repository is different from the official images⁠ in the following ways:

  • Hostnames and database/Elasticsearch connections are configured through environment variables (which also makes using external services easy)
  • Both MySQL and PostgreSQL are supported
  • The application is not tied to a local volume and is only updated when the container is rebuilt
  • Containers run as nonroot users off the bat instead of invoking gosu
  • Permissions are handled for PaaS environments

Tag summary

Content type

Image

Digest

Size

317.5 MB

Last updated

over 5 years ago

docker pull computersciencehouse/zammad-elasticsearch