Standalone container to run Kayako built on top of alpine Linux.
464
A standalone container to run Kayako built on top of alpine Linux.
This image contains:
Create a Dockerfile to COPY your own Kayako's files into /srv/web.
Here is my usual working stack:
version: '3'
services:
kayako:
build:
context: .
dockerfile: Dockerfile
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
environment:
KAYAKO_DB_HOSTNAME: mysql
KAYAKO_DB_USERNAME: kayako_user
KAYAKO_DB_PASSWORD: kayako_pwd
KAYAKO_DB_NAME: kayako
mysql:
image: mysql:5.7
volumes:
- /path_to_db_data:/var/lib/mysql
It is done via environment variable
| Variable name | Description |
|---|---|
| KAYAKO_BASENAME | Base path name (defaults to index.php?) |
| KAYAKO_DB_HOSTNAME | Database hostname |
| KAYAKO_DB_USERNAME | Database username |
| KAYAKO_DB_PASSWORD | Database password |
| KAYAKO_DB_NAME | Database schema name |
| KAYAKO_DB_PORT | Database port (defaults to 3306) |
If you want to customise your PHP configuration, you want to COPY your .ini file into /usr/local/etc/php/conf.d/.
It will override the default configuration.
There is few environment variables to configure the postfix server, feel free to ask for more settings.
| Variable name | Description |
|---|---|
| POSTFIX_ENABLE | Set to false if you don't want to start postfix server |
| RELAY_HOST | relayhost |
| SMTP_USE_TLS | smtp_use_tls |
| ALWAYS_BCC | always_bcc |
| HEADER_CHECKS | header_checks |
| MSG_SIZE_LIMIT | message_size_limit |
The followings only apply if variable RELAY_HOST is used:
| Variable name | Description |
|---|---|
| SMTP_AUTH_HOST | Used to generate smtp_sasl_password_maps (defaults to $RELAY_HOST) |
| SMTP_AUTH_USER | Used to generate smtp_sasl_password_maps |
| SMTP_AUTH_PASSWORD | Used to generate smtp_sasl_password_maps |
| SMTP_AUTH_MECHANISM | smtp_sasl_mechanism_filter (defaults to plain,login) |
| SMTP_AUTH_SECURITY_OPTIONS | smtp_sasl_security_options (defaults to noanonymous) |
For more explanations please refer to Kayako, nginx or PHP documentations.
Content type
Image
Digest
Size
36.6 MB
Last updated
over 8 years ago
docker pull dalimit/kayako