Update Cheky version 4.4.1 & Php capabilities (Mysqli, Zip), ==> Php 7 for mysql 8 compatibility
500K+
Added MySql dependencies in case you want to switch to MySql storage instead of file storage.
This a fork of menardorama/docker-cheky. It's just a more up to date version.
Dockerize version of Cheky.
Simply run the docker image and expose the port 80:
$ docker run -d --name=cheky -p 80:80 xguitoux/docker-cheky:latest
To persist Cheky configuration you can bind mount a docker volume to /var/www/html/var/.
$ docker run -d --name=cheky -p 80:80 -v <host_cheky_data_dir>:/var/www/html/var/ xguitoux/docker-cheky:latest
Some Cheky settings can be customize with environments variables.
CHEKY_BASEURLSet the Checky base URL.
Example :
CHEKY_BASEURL=http://cheky.example.com
The default base URL is http://cheky.local.
Set the admin password.
admin.The admin password can be set in plain test or with it SHA1 checksum.
CHEKY_ADMIN_PASSWORDSet the password in plain text.
CHEKY_ADMIN_PASSWORD_SHA1Set the password with it SHA1 checksum.
To generate the SHA1 checksum you can use the sha1sum command.
test:$ echo -n "test" | sha1sum | cut -d" " -f1
a94a8fe5ccb19ba61c4c0873d391e987982fbbd3
Configure the mailer for alerts.
CHEKY_CONFIG_MAILERDisable/enable the mailer configuration : 0|1
0.CHEKY_MAILER_SMTP_HOSTSet the SMTP hostname.
CHEKY_MAILER_SMTP_PORTSet the SMTP port.
CHEKY_MAILER_SMTP_USERNAMESet the SMTP username.
CHEKY_MAILER_SMTP_PASSWORDSet the SMTP password.
CHEKY_MAILER_SMTP_SECURESet the SMTP connection security : <empty>|tls|ssl
CHEKY_MAILER_FROMSet the sender email for Cheky alerts.
SMTP configuration example:
CHEKY_MAILER_SMTP_HOST=smtp.mailgun.org
CHEKY_MAILER_SMTP_PORT=587
CHEKY_MAILER_SMTP_USERNAME=xxx
CHEKY_MAILER_SMTP_PASSWORD="yyy"
CHEKY_MAILER_SMTP_SECURE=tls
[email protected]
CHEKY_CRON_INTERVALSet the cron interval for the Cheky check cronjob.
Example :
CHEKY_CRON_INTERVAL="*/5 * * * *"
The default value is */30 * * * *.
cheky: depends_on: -- db image: xguitoux/docker-cheky user: root container_name: cheky restart: always environment: -- CHEKY_BASEURL=http://yourcheky.url -- CHEKY_ADMIN_PASSWORD=myPassW0rd -- CHEKY_ADMIN_PASSWORD_SHA1=fdsq161fds5q5fdsq1f9sdq1fsdq -- CHEKY_CONFIG_MAILER=1 -- CHEKY_MAILER_SMTP_HOST=mail.gandi.net -- CHEKY_MAILER_SMTP_PORT=587 -- CHEKY_MAILER_SMTP_USERNAME=[email protected] -- CHEKY_MAILER_SMTP_PASSWORD=myPassW0rd -- CHEKY_MAILER_SMTP_SECURE=tls -- CHEKY_MAILER_FROM=[email protected] ports: -- 7251:80 volumes: -- /home/media/cheky:/var/www/html/var/ -- /home/media/cheky/container_logs:/var/log/ db: image: mysql container_name: mysql ports: -- 6603:3306 command: --default-authentication-plugin=mysql_native_password restart: always environment: MYSQL_ROOT_PASSWORD: myPassW0rd adminer: image: adminer restart: always ports: -- 7252:8080
Content type
Image
Digest
Size
157.5 MB
Last updated
over 7 years ago
docker pull xguitoux/docker-cheky