prepare new release
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Robert Kaussow 2019-10-02 10:51:21 +02:00
parent 61f83d4bae
commit 44981257fa
6 changed files with 21 additions and 11 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
test/

View File

@ -1,3 +1,8 @@
* BUGFIX
* fix port in healthcheck script
* small vhost adjustments
* BREAKING
* change docker tags from `1.2.1103` to `1.2.11-3`
* ENHANCEMENT
* move out supercronic to base image
* add mising volume definition in dockerfile
* change default healthcheck timeout to 5s
* cleanup

View File

@ -19,8 +19,6 @@ RUN apk --update add --virtual .build-deps tar curl && \
mkdir -p /var/www/app && \
curl -SsL ${KANBOARD_TARBALL} | tar xz -C /var/www/app/ --strip-components=1 && \
curl -SsL -o /etc/php7/browscap.ini https://browscap.org/stream?q=Lite_PHP_BrowsCapINI && \
curl -SsL -o /usr/local/bin/supercronic https://github.com/aptible/supercronic/releases/download/v0.1.9/supercronic-linux-amd64 && \
chmod 755 /usr/local/bin/supercronic && \
apk del .build-deps && \
rm -rf /var/cache/apk/* && \
rm -rf /tmp/* && \
@ -37,6 +35,7 @@ RUN apk --update add --virtual .build-deps tar curl && \
ADD overlay/ /
VOLUME /var/www/app/plugins
VOLUME /var/www/app/data
EXPOSE 8080
@ -45,6 +44,6 @@ USER nginx
STOPSIGNAL SIGTERM
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
HEALTHCHECK --interval=30s --timeout=10s --retries=3 CMD /usr/local/bin/healthcheck.sh
HEALTHCHECK --interval=30s --timeout=5s --retries=3 CMD /usr/local/bin/healthcheck.sh
WORKDIR /var/www/app
CMD []

View File

@ -18,7 +18,7 @@ Here are some example snippets to help you get started creating a container. Thi
```Shell
docker create \
--name=kanboard \
-p 80:80 \
-p 80:8080 \
xoxys/kanboard
```
@ -32,12 +32,15 @@ version: '2.1'
services:
kanboard:
image: kanboard/kanboard:latest
container_name: kanboard
image: xoxys/kanboard:latest
ports:
- "80:80"
- "80:8080"
volumes:
- kanboard_data:/var/www/app/data
- kanboard_plugins:/var/www/app/plugins
environment:
KANBOARD_PLUGIN_INSTALLER: "true"
volumes:
kanboard_data:

View File

@ -1,7 +1,9 @@
---
version: '2.1'
services:
kanboard:
container_name: kanboard
image: xoxys/kanboard:latest
ports:
- "80:8080"

View File

@ -1,6 +1,6 @@
#!/bin/sh
/usr/local/bin/gomplate -V -o /etc/php7/php.ini -f /etc/templates/php.ini.tmpl 1>/dev/null
/usr/local/bin/gomplate -V -o /var/www/app/data/config.php -f /etc/templates/config.php.tmpl 1>/dev/null
/usr/local/bin/gomplate -V -o /etc/php7/php.ini -f /etc/templates/php.ini.tmpl
/usr/local/bin/gomplate -V -o /var/www/app/data/config.php -f /etc/templates/config.php.tmpl
exec supercronic -split-logs /etc/crontabs/nginx 1>/dev/null &
exec php-fpm7 -F &