prepare new release
All checks were successful
continuous-integration/drone/push Build is passing

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 * BREAKING
* fix port in healthcheck script * change docker tags from `1.2.1103` to `1.2.11-3`
* small vhost adjustments
* 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 && \ mkdir -p /var/www/app && \
curl -SsL ${KANBOARD_TARBALL} | tar xz -C /var/www/app/ --strip-components=1 && \ 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 /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 && \ apk del .build-deps && \
rm -rf /var/cache/apk/* && \ rm -rf /var/cache/apk/* && \
rm -rf /tmp/* && \ rm -rf /tmp/* && \
@ -37,6 +35,7 @@ RUN apk --update add --virtual .build-deps tar curl && \
ADD overlay/ / ADD overlay/ /
VOLUME /var/www/app/plugins VOLUME /var/www/app/plugins
VOLUME /var/www/app/data
EXPOSE 8080 EXPOSE 8080
@ -45,6 +44,6 @@ USER nginx
STOPSIGNAL SIGTERM STOPSIGNAL SIGTERM
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"] 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 WORKDIR /var/www/app
CMD [] CMD []

View File

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

View File

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

View File

@ -1,6 +1,6 @@
#!/bin/sh #!/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 /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 1>/dev/null /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 supercronic -split-logs /etc/crontabs/nginx 1>/dev/null &
exec php-fpm7 -F & exec php-fpm7 -F &