Sign inSign up

melwinkfr/php-kayako

By melwinkfr

Updated over 8 years ago

A PHP-FPM container for Kayako built on top of php:5.6-fpm-alpine.

Image
0

534

melwinkfr/php-kayako repository overview

Deprecated

In advantage to dalim-it/docker-images -> kayako

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
TagnameDescriptionDockerfile
latestAll needed PHP extensions with a PHP cache accelerator (opcache).master
postfixEverything 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 nameDocumentation
RELAY_HOSTrelayhost
ALWAYS_BCCalways_bcc
HEADER_CHECKSheader_checks

Documentation

For more explanations please refer to Kayako and PHP documentation.

Tag summary

Content type

Image

Digest

Size

35.6 MB

Last updated

over 8 years ago

docker pull melwinkfr/php-kayako