summaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorJLGC @monolinux <monolinux@junglacode.org>2016-08-15 23:13:16 -0500
committerJLGC @monolinux <monolinux@junglacode.org>2016-08-15 23:13:16 -0500
commit683c0464093f6a7976236c68653c2a2cc5dae280 (patch)
treebf176ecd82415cc4952eea071b7d264dd5fd68b4 /docker
parentb1e795fc5b45369f7b9b565b1e106d2673361977 (diff)
parent5f82a942c0011bf91947b2c1d627c0907bda0c92 (diff)
Merge https://github.com/kanboard/kanboard
Diffstat (limited to 'docker')
-rw-r--r--docker/crontab/cronjob.alpine1
-rw-r--r--docker/kanboard/config.php4
-rw-r--r--docker/php/env.conf2
-rwxr-xr-xdocker/services.d/cron/run2
4 files changed, 9 insertions, 0 deletions
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/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 @@
+<?php
+
+define('ENABLE_URL_REWRITE', true);
+define('LOG_DRIVER', 'stderr');
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