Public | Automated Build

Last pushed: 9 months ago
Short Description
A PHP-FPM container for Kayako built on top of php:5.6-fpm-alpine.
Full Description

A PHP-FPM container for Kayako built on top of php:5.6-fpm-alpine. All needed PHP extensions are included as well as a PHP cache accelerator (opcache).

This image is not designed to work in standalone mode.

Tags
Tagname Description Dockerfile
latest All needed PHP extensions with a PHP cache accelerator (opcache). master
postfix Everything in latest plus a customisable postfix server. postfix

Usage

Create a Dockerfile to COPY your own Kayako's files into /srv/web or simply use a --volume.

Recommended configuration:

    php:
        build:
            context: .
            dockerfile: Dockerfile-php
        external_links:
            - mysql:mysql
        volumes:
            - /path_to_logs:/srv/web/__swift/logs
            - /path_to_files:/srv/web/__swift/files
            - /path_to_geoip:/srv/web/__swift/geoip
        restart: always
        network_mode: "default"
    nginx:
        build:
            context: .
            dockerfile: Dockerfile-nginx
        links:
            - php:php
        volumes_from:
            - php
        restart: always
        network_mode: "default"

PHP Configuration

If you want to customise your PHP configuration, you just have to COPY your .ini file into /usr/local/etc/php/conf.d/. It will override the default configuration.

Postfix configuration

There is few environment variables to configure the postfix server, feel free to ask me for more settings or make a pull request.

Variable name Documentation
RELAY_HOST relayhost
ALWAYS_BCC always_bcc
HEADER_CHECKS header_checks
MSG_SIZE_LIMIT message_size_limit

Documentation

For more explanations please refer to Kayako and PHP documentation.

Docker Pull Command
Owner
melwinkfr
Source Repository

Comments (0)