From 4b5c3b05271a63cb7b2790ffa9a81453fef5b642 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 2 Jul 2016 22:35:54 -0400 Subject: Use PHP7 for Docker image --- docker/crontab/cronjob.alpine | 1 + docker/php/env.conf | 2 ++ docker/services.d/cron/run | 2 ++ 3 files changed, 5 insertions(+) create mode 100644 docker/crontab/cronjob.alpine create mode 100644 docker/php/env.conf create mode 100755 docker/services.d/cron/run (limited to 'docker') diff --git a/docker/crontab/cronjob.alpine b/docker/crontab/cronjob.alpine new file mode 100644 index 00000000..d051ff28 --- /dev/null +++ b/docker/crontab/cronjob.alpine @@ -0,0 +1 @@ +1 0 * * * cd /var/www/app && ./kanboard cronjob diff --git a/docker/php/env.conf b/docker/php/env.conf new file mode 100644 index 00000000..bcf2e37c --- /dev/null +++ b/docker/php/env.conf @@ -0,0 +1,2 @@ +env[DATABASE_URL] = $DATABASE_URL +env[DEBUG] = $DEBUG diff --git a/docker/services.d/cron/run b/docker/services.d/cron/run new file mode 100755 index 00000000..da378099 --- /dev/null +++ b/docker/services.d/cron/run @@ -0,0 +1,2 @@ +#!/bin/execlineb -P +crond -f \ No newline at end of file -- cgit v1.2.3 From 4f9e52243856ff652c9b6660b6bb95cd1837757a Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 2 Jul 2016 22:39:39 -0400 Subject: Update .gitignore --- .gitignore | 2 +- docker/kanboard/config.php | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 docker/kanboard/config.php (limited to 'docker') diff --git a/.gitignore b/.gitignore index 742ea5e7..6fb87517 100644 --- a/.gitignore +++ b/.gitignore @@ -19,6 +19,6 @@ data/files data/cache /vendor *.bak -!.docker/kanboard/config.php +!docker/kanboard/config.php node_modules bower_components diff --git a/docker/kanboard/config.php b/docker/kanboard/config.php new file mode 100644 index 00000000..58daff48 --- /dev/null +++ b/docker/kanboard/config.php @@ -0,0 +1,4 @@ +