Compare commits
70 Commits
Author | SHA1 | Date |
---|---|---|
Renovator Bot | edd89b53f7 | |
Renovator Bot | 5048138533 | |
Renovator Bot | 2b105af367 | |
Renovator Bot | ad611b163b | |
Renovator Bot | f6aefe30d4 | |
Renovator Bot | b101bea263 | |
Renovator Bot | c6ffa64a8d | |
Renovator Bot | a6ea9fc951 | |
Renovator Bot | cd6560b8ad | |
Renovator Bot | 5bf2da3da1 | |
Renovator Bot | 1553ceb2f0 | |
Renovator Bot | 94afa9f3c0 | |
Renovator Bot | 9edb21fa20 | |
Renovator Bot | 17905d15c1 | |
Robert Kaussow | aedb65bbd2 | |
Robert Kaussow | bc083df11c | |
Renovator Bot | 3bb22d788b | |
Renovator Bot | 24592d561c | |
Renovator Bot | 74f84de581 | |
Renovator Bot | f8e2ca5dc2 | |
Renovator Bot | 79de8cf11e | |
Renovator Bot | 505d834814 | |
Robert Kaussow | ffd92dee6d | |
Robert Kaussow | 6e8b551aa9 | |
Renovator Bot | 129f325b85 | |
Robert Kaussow | 1d86b001c9 | |
Robert Kaussow | ba606612fb | |
Renovator Bot | 04644e51aa | |
Renovator Bot | bded4c3ecf | |
Robert Kaussow | caa7613bf1 | |
Robert Kaussow | b556644175 | |
Robert Kaussow | 69f069e6c4 | |
Renovator Bot | 2794b56109 | |
Robert Kaussow | b5cd7c79cf | |
Robert Kaussow | c9d39abeaf | |
Robert Kaussow | c390053549 | |
Robert Kaussow | d888290d57 | |
Robert Kaussow | 6e6676771c | |
Robert Kaussow | 0d1f4f2073 | |
Robert Kaussow | 9f02ede4e5 | |
Robert Kaussow | 56506c3104 | |
Robert Kaussow | e7e1df7ea3 | |
Robert Kaussow | 84c12147d6 | |
Robert Kaussow | 94dcc0f369 | |
Robert Kaussow | ad8c6cdfb7 | |
Renovator Bot | c9844af82e | |
Robert Kaussow | e7be45fd19 | |
Robert Kaussow | e12d8aa9fa | |
Robert Kaussow | 8f491d9e68 | |
Renovator Bot | cf52045028 | |
Robert Kaussow | ec483e325a | |
Robert Kaussow | bf8b275393 | |
Robert Kaussow | 2854cfcb9e | |
Robert Kaussow | a0d15cbffd | |
Robert Kaussow | e8f9b2df87 | |
Robert Kaussow | d6f1b5688e | |
Robert Kaussow | bac542cc5a | |
Robert Kaussow | 91b16032e7 | |
Robert Kaussow | 580444d589 | |
Robert Kaussow | f6a412fbd2 | |
Robert Kaussow | 62f255edc0 | |
Robert Kaussow | 796ef43f30 | |
Robert Kaussow | ab5f4651ee | |
Robert Kaussow | bff5e3e7a4 | |
Robert Kaussow | 9a03d16923 | |
Robert Kaussow | 2deb6f657d | |
Robert Kaussow | 47cdba400e | |
Robert Kaussow | a1edc08c6f | |
Robert Kaussow | 2be6ffe0e4 | |
Robert Kaussow | 38dea5e7f7 |
|
@ -0,0 +1,23 @@
|
|||
# Changelog
|
||||
|
||||
{{ range .Versions -}}
|
||||
## {{ if .Tag.Previous }}[{{ .Tag.Name }}]({{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }}){{ else }}{{ .Tag.Name }}{{ end }} ({{ datetime "2006-01-02" .Tag.Date }})
|
||||
|
||||
{{ range .CommitGroups -}}
|
||||
### {{ .Title }}
|
||||
|
||||
{{ range .Commits -}}
|
||||
- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
|
||||
{{- if .NoteGroups -}}
|
||||
{{ range .NoteGroups -}}
|
||||
### {{ .Title }}
|
||||
|
||||
{{ range .Notes }}
|
||||
{{ .Body }}
|
||||
{{ end }}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
|
@ -0,0 +1,25 @@
|
|||
style: github
|
||||
template: CHANGELOG.tpl.md
|
||||
info:
|
||||
title: CHANGELOG
|
||||
repository_url: https://gitea.rknet.org/docker/kanboard
|
||||
options:
|
||||
commit_groups:
|
||||
title_maps:
|
||||
feat: Features
|
||||
fix: Bug Fixes
|
||||
perf: Performance Improvements
|
||||
refactor: Code Refactoring
|
||||
chore: Others
|
||||
test: Testing
|
||||
ci: CI Pipeline
|
||||
docs: Documentation
|
||||
header:
|
||||
pattern: "^(\\w*)(?:\\(([\\w\\$\\.\\-\\*\\s]*)\\))?\\:\\s(.*)$"
|
||||
pattern_maps:
|
||||
- Type
|
||||
- Scope
|
||||
- Subject
|
||||
notes:
|
||||
keywords:
|
||||
- BREAKING CHANGE
|
|
@ -1,8 +0,0 @@
|
|||
.git
|
||||
.git*
|
||||
.drone.*
|
||||
*.md
|
||||
.dockerignore
|
||||
Dockerfile
|
||||
Dockerfile.*
|
||||
docker-compose.yml
|
148
.drone.jsonnet
148
.drone.jsonnet
|
@ -1,148 +0,0 @@
|
|||
local PipelineBuild(os='linux', arch='amd64') = {
|
||||
local tag = os + '-' + arch,
|
||||
local version_tag = os + '-' + arch,
|
||||
local file_suffix = std.strReplace(version_tag, '-', '.'),
|
||||
kind: "pipeline",
|
||||
name: version_tag,
|
||||
platform: {
|
||||
os: os,
|
||||
arch: arch,
|
||||
},
|
||||
steps: [
|
||||
{
|
||||
name: 'dryrun',
|
||||
image: 'plugins/docker:' + tag,
|
||||
pull: 'always',
|
||||
settings: {
|
||||
dry_run: true,
|
||||
tags: version_tag,
|
||||
dockerfile: './Dockerfile.' + file_suffix,
|
||||
repo: 'xoxys/kanboard',
|
||||
username: { from_secret: "docker_username" },
|
||||
password: { from_secret: "docker_password" },
|
||||
build_args: {
|
||||
KANBOARD_VERSION: "${DRONE_TAG%-*}",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'publish',
|
||||
image: 'plugins/docker:' + tag,
|
||||
pull: 'always',
|
||||
settings: {
|
||||
auto_tag: true,
|
||||
auto_tag_suffix: version_tag,
|
||||
dockerfile: './Dockerfile.' + file_suffix,
|
||||
repo: 'xoxys/kanboard',
|
||||
username: { from_secret: "docker_username" },
|
||||
password: { from_secret: "docker_password" },
|
||||
build_args: {
|
||||
KANBOARD_VERSION: "${DRONE_TAG%-*}",
|
||||
},
|
||||
},
|
||||
when: {
|
||||
ref: [
|
||||
'refs/heads/master',
|
||||
'refs/tags/**',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "publish-gitea",
|
||||
image: "plugins/gitea-release",
|
||||
pull: "always",
|
||||
settings: {
|
||||
api_key: { "from_secret": "gitea_token" },
|
||||
base_url: "https://gitea.rknet.org",
|
||||
overwrite: true,
|
||||
title: "${DRONE_TAG}",
|
||||
note: "CHANGELOG.md",
|
||||
},
|
||||
when: {
|
||||
ref: ['refs/tags/**'],
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
|
||||
local PipelineNotifications(depends_on=[]) = {
|
||||
kind: "pipeline",
|
||||
name: "notifications",
|
||||
platform: {
|
||||
os: "linux",
|
||||
arch: "amd64",
|
||||
},
|
||||
steps: [
|
||||
{
|
||||
image: "plugins/manifest",
|
||||
name: "manifest",
|
||||
pull: "always",
|
||||
settings: {
|
||||
ignore_missing: true,
|
||||
tags: ["${DRONE_TAG}", "${DRONE_TAG%-*}", "${DRONE_TAG%.*}", "${DRONE_TAG%%.*}"],
|
||||
username: { from_secret: "docker_username" },
|
||||
password: { from_secret: "docker_password" },
|
||||
spec: "./manifest.tmpl",
|
||||
},
|
||||
when: {
|
||||
ref: [
|
||||
'refs/heads/master',
|
||||
'refs/tags/**',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "readme",
|
||||
image: "sheogorath/readme-to-dockerhub",
|
||||
pull: "always",
|
||||
environment: {
|
||||
DOCKERHUB_USERNAME: { from_secret: "docker_username" },
|
||||
DOCKERHUB_PASSWORD: { from_secret: "docker_password" },
|
||||
DOCKERHUB_REPO_PREFIX: "xoxys",
|
||||
DOCKERHUB_REPO_NAME: "kanboard",
|
||||
README_PATH: "README.md",
|
||||
SHORT_DESCRIPTION: "Rootless Kanboard - Kanban project management software"
|
||||
},
|
||||
when: {
|
||||
ref: [
|
||||
'refs/heads/master',
|
||||
'refs/tags/**',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "microbadger",
|
||||
image: "plugins/webhook",
|
||||
pull: "always",
|
||||
settings: {
|
||||
urls: { from_secret: "microbadger_url" },
|
||||
},
|
||||
},
|
||||
{
|
||||
image: "plugins/matrix",
|
||||
name: "matrix",
|
||||
pull: 'always',
|
||||
settings: {
|
||||
homeserver: "https://matrix.rknet.org",
|
||||
roomid: "MtidqQXWWAtQcByBhH:rknet.org",
|
||||
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}",
|
||||
username: { from_secret: "matrix_username" },
|
||||
password: { from_secret: "matrix_password" },
|
||||
},
|
||||
when: {
|
||||
status: [ "success", "failure" ],
|
||||
},
|
||||
},
|
||||
],
|
||||
trigger: {
|
||||
status: [ "success", "failure" ],
|
||||
},
|
||||
depends_on: depends_on,
|
||||
};
|
||||
|
||||
[
|
||||
PipelineBuild(os='linux', arch='amd64'),
|
||||
PipelineNotifications(depends_on=[
|
||||
"linux-amd64",
|
||||
])
|
||||
]
|
196
.drone.yml
196
.drone.yml
|
@ -1,6 +1,26 @@
|
|||
---
|
||||
kind: pipeline
|
||||
name: linux-amd64
|
||||
name: test
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: markdownlint
|
||||
image: thegeeklab/markdownlint-cli
|
||||
commands:
|
||||
- markdownlint 'README.md'
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
- refs/heads/main
|
||||
- refs/pull/**
|
||||
- refs/tags/**
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
name: build-container
|
||||
|
||||
platform:
|
||||
os: linux
|
||||
|
@ -8,41 +28,82 @@ platform:
|
|||
|
||||
steps:
|
||||
- name: dryrun
|
||||
pull: always
|
||||
image: plugins/docker:linux-amd64
|
||||
image: thegeeklab/drone-docker-buildx:20
|
||||
settings:
|
||||
build_args:
|
||||
KANBOARD_VERSION: "${DRONE_TAG%-*}"
|
||||
dockerfile: ./Dockerfile.linux.amd64
|
||||
- BUILD_VERSION=${DRONE_TAG%-*}
|
||||
dockerfile: Dockerfile
|
||||
dry_run: true
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: xoxys/kanboard
|
||||
tags: linux-amd64
|
||||
username:
|
||||
from_secret: docker_username
|
||||
|
||||
- name: publish
|
||||
pull: always
|
||||
image: plugins/docker:linux-amd64
|
||||
settings:
|
||||
auto_tag: true
|
||||
auto_tag_suffix: linux-amd64
|
||||
build_args:
|
||||
KANBOARD_VERSION: "${DRONE_TAG%-*}"
|
||||
dockerfile: ./Dockerfile.linux.amd64
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: xoxys/kanboard
|
||||
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||
username:
|
||||
from_secret: docker_username
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
- "refs/tags/**"
|
||||
- refs/pull/**
|
||||
|
||||
- name: tags
|
||||
image: thegeeklab/docker-autotag
|
||||
environment:
|
||||
DOCKER_AUTOTAG_FORCE_LATEST: True
|
||||
DOCKER_AUTOTAG_IGNORE_PRERELEASE: True
|
||||
DOCKER_AUTOTAG_OUTPUT_FILE: .tags
|
||||
DOCKER_AUTOTAG_VERSION: ${DRONE_TAG}
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/main
|
||||
- refs/tags/**
|
||||
depends_on:
|
||||
- dryrun
|
||||
|
||||
- name: changelog
|
||||
image: thegeeklab/git-chglog
|
||||
commands:
|
||||
- git fetch -tq
|
||||
- git-chglog --no-color --no-emoji ${DRONE_TAG:---next-tag unreleased unreleased}
|
||||
- git-chglog --no-color --no-emoji -o CHANGELOG.md ${DRONE_TAG:---next-tag unreleased unreleased}
|
||||
depends_on:
|
||||
- tags
|
||||
|
||||
- name: publish-dockerhub
|
||||
image: thegeeklab/drone-docker-buildx:20
|
||||
settings:
|
||||
build_args:
|
||||
- BUILD_VERSION=${DRONE_TAG%-*}
|
||||
dockerfile: Dockerfile
|
||||
password:
|
||||
from_secret: docker_password
|
||||
repo: thegeeklab/${DRONE_REPO_NAME}
|
||||
username:
|
||||
from_secret: docker_username
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/main
|
||||
- refs/tags/**
|
||||
depends_on:
|
||||
- changelog
|
||||
|
||||
- name: publish-quay
|
||||
image: thegeeklab/drone-docker-buildx:20
|
||||
settings:
|
||||
build_args:
|
||||
- BUILD_VERSION=${DRONE_TAG%-*}
|
||||
dockerfile: Dockerfile
|
||||
password:
|
||||
from_secret: quay_password
|
||||
registry: quay.io
|
||||
repo: quay.io/thegeeklab/${DRONE_REPO_NAME}
|
||||
username:
|
||||
from_secret: quay_username
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/main
|
||||
- refs/tags/**
|
||||
depends_on:
|
||||
- changelog
|
||||
|
||||
- name: publish-gitea
|
||||
pull: always
|
||||
image: plugins/gitea-release
|
||||
settings:
|
||||
api_key:
|
||||
|
@ -50,10 +111,22 @@ steps:
|
|||
base_url: https://gitea.rknet.org
|
||||
note: CHANGELOG.md
|
||||
overwrite: true
|
||||
title: "${DRONE_TAG}"
|
||||
title: ${DRONE_TAG}
|
||||
when:
|
||||
ref:
|
||||
- "refs/tags/**"
|
||||
- refs/tags/**
|
||||
depends_on:
|
||||
- publish-dockerhub
|
||||
- publish-quay
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
- refs/heads/main
|
||||
- refs/pull/**
|
||||
- refs/tags/**
|
||||
|
||||
depends_on:
|
||||
- test
|
||||
|
||||
---
|
||||
kind: pipeline
|
||||
|
@ -64,58 +137,42 @@ platform:
|
|||
arch: amd64
|
||||
|
||||
steps:
|
||||
- name: manifest
|
||||
- name: pushrm-dockerhub
|
||||
pull: always
|
||||
image: plugins/manifest
|
||||
settings:
|
||||
ignore_missing: true
|
||||
password:
|
||||
from_secret: docker_password
|
||||
spec: ./manifest.tmpl
|
||||
tags:
|
||||
- "${DRONE_TAG}"
|
||||
- "${DRONE_TAG%-*}"
|
||||
- "${DRONE_TAG%.*}"
|
||||
- "${DRONE_TAG%%.*}"
|
||||
username:
|
||||
from_secret: docker_username
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
- "refs/tags/**"
|
||||
|
||||
- name: readme
|
||||
pull: always
|
||||
image: sheogorath/readme-to-dockerhub
|
||||
image: chko/docker-pushrm:1
|
||||
environment:
|
||||
DOCKERHUB_PASSWORD:
|
||||
DOCKER_PASS:
|
||||
from_secret: docker_password
|
||||
DOCKERHUB_REPO_NAME: kanboard
|
||||
DOCKERHUB_REPO_PREFIX: xoxys
|
||||
DOCKERHUB_USERNAME:
|
||||
DOCKER_USER:
|
||||
from_secret: docker_username
|
||||
README_PATH: README.md
|
||||
SHORT_DESCRIPTION: Rootless Kanboard - Kanban project management software
|
||||
PUSHRM_FILE: README.md
|
||||
PUSHRM_SHORT: Custom image for Kanboard Kanban project management
|
||||
PUSHRM_TARGET: thegeeklab/${DRONE_REPO_NAME}
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/master
|
||||
- "refs/tags/**"
|
||||
status:
|
||||
- success
|
||||
|
||||
- name: microbadger
|
||||
- name: pushrm-quay
|
||||
pull: always
|
||||
image: plugins/webhook
|
||||
settings:
|
||||
urls:
|
||||
from_secret: microbadger_url
|
||||
image: chko/docker-pushrm:1
|
||||
environment:
|
||||
APIKEY__QUAY_IO:
|
||||
from_secret: quay_token
|
||||
PUSHRM_FILE: README.md
|
||||
PUSHRM_TARGET: quay.io/thegeeklab/${DRONE_REPO_NAME}
|
||||
when:
|
||||
status:
|
||||
- success
|
||||
|
||||
- name: matrix
|
||||
pull: always
|
||||
image: plugins/matrix
|
||||
settings:
|
||||
homeserver: https://matrix.rknet.org
|
||||
homeserver:
|
||||
from_secret: matrix_homeserver
|
||||
password:
|
||||
from_secret: matrix_password
|
||||
roomid: MtidqQXWWAtQcByBhH:rknet.org
|
||||
roomid:
|
||||
from_secret: matrix_roomid
|
||||
template: "Status: **{{ build.status }}**<br/> Build: [{{ repo.Owner }}/{{ repo.Name }}]({{ build.link }}) ({{ build.branch }}) by {{ build.author }}<br/> Message: {{ build.message }}"
|
||||
username:
|
||||
from_secret: matrix_username
|
||||
|
@ -125,15 +182,18 @@ steps:
|
|||
- failure
|
||||
|
||||
trigger:
|
||||
ref:
|
||||
- refs/heads/main
|
||||
- refs/tags/**
|
||||
status:
|
||||
- success
|
||||
- failure
|
||||
|
||||
depends_on:
|
||||
- linux-amd64
|
||||
- build-container
|
||||
|
||||
---
|
||||
kind: signature
|
||||
hmac: e4f6bc169c5cf8661b73dd9b921f6facd998f0c3035f29b53998f35315b7af32
|
||||
hmac: 2bc6998878baf263dbda96a4c7946551fffc788c2738660b4ebee62887f375d0
|
||||
|
||||
...
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
test/
|
||||
CHANGELOG.md
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
default: True
|
||||
MD013: False
|
||||
MD041: False
|
||||
MD004:
|
||||
style: dash
|
|
@ -0,0 +1 @@
|
|||
.drone.yml
|
|
@ -1,2 +0,0 @@
|
|||
* SECURITY
|
||||
* update PHP to address [CVE-2019-11043](https://de.tenable.com/blog/cve-2019-11043-vulnerability-in-php-fpm-could-lead-to-remote-code-execution-on-nginx)
|
|
@ -1,13 +1,17 @@
|
|||
FROM xoxys/nginx:latest
|
||||
FROM thegeeklab/nginx:latest@sha256:1c97c8395046bf2eaa9e758661581d42a9857dcefc6bcf07908dac55dbf26082
|
||||
|
||||
LABEL maintainer="Robert Kaussow <mail@geeklabor.de>" \
|
||||
org.label-schema.name="Kanboard" \
|
||||
org.label-schema.version="1.2" \
|
||||
org.label-schema.vendor="Robert Kaussow" \
|
||||
org.label-schema.schema-version="1.0"
|
||||
LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.authors="Robert Kaussow <mail@thegeeklab.de>"
|
||||
LABEL org.opencontainers.image.title="Kanboard"
|
||||
LABEL org.opencontainers.image.url="https://gitea.rknet.org/docker/kanboard"
|
||||
LABEL org.opencontainers.image.source="https://gitea.rknet.org/docker/kanboard"
|
||||
LABEL org.opencontainers.image.documentation="https://gitea.rknet.org/docker/kanboard"
|
||||
|
||||
ARG KANBOARD_VERSION=master
|
||||
ARG KANBOARD_TARBALL=https://github.com/kanboard/kanboard/archive/${KANBOARD_VERSION}.tar.gz
|
||||
ARG BUILD_VERSION
|
||||
# renovate: datasource=github-releases depName=kanboard/kanboard
|
||||
ENV KANBOARD_VERSION="${BUILD_VERSION:-v1.2.19}"
|
||||
|
||||
ADD overlay/ /
|
||||
|
||||
RUN apk --update add --virtual .build-deps tar curl && \
|
||||
apk --update add ssmtp mailx php7 php7-phar php7-curl \
|
||||
|
@ -17,12 +21,13 @@ RUN apk --update add --virtual .build-deps tar curl && \
|
|||
rm -rf /var/www/localhost && \
|
||||
rm -f /etc/php7/php-fpm.d/www.conf && \
|
||||
mkdir -p /var/www/app && \
|
||||
curl -SsL ${KANBOARD_TARBALL} | tar xz -C /var/www/app/ --strip-components=1 && \
|
||||
echo "Installing Kanboard version '${KANBOARD_VERSION##v}' ..." && \
|
||||
curl -SsL "https://github.com/kanboard/kanboard/archive/${KANBOARD_VERSION}.tar.gz" | \
|
||||
tar xz -C /var/www/app/ -X /.tarignore --strip-components=1 && \
|
||||
curl -SsL -o /etc/php7/browscap.ini https://browscap.org/stream?q=Lite_PHP_BrowsCapINI && \
|
||||
apk del .build-deps && \
|
||||
rm -rf /var/cache/apk/* && \
|
||||
rm -rf /tmp/* && \
|
||||
rm -rf /var/www/app/ChangeLog /var/www/app/config.default.php && \
|
||||
mkdir -p /var/run/php && \
|
||||
chown -R nginx /var/run/php && \
|
||||
mkdir -p /var/lib/php/tmp_upload && \
|
||||
|
@ -32,8 +37,6 @@ RUN apk --update add --virtual .build-deps tar curl && \
|
|||
chown nginx /etc/php7/php.ini && \
|
||||
chown -R nginx:nginx /var/www/app
|
||||
|
||||
ADD overlay/ /
|
||||
|
||||
VOLUME /var/www/app/plugins
|
||||
VOLUME /var/www/app/data
|
||||
|
||||
|
@ -43,7 +46,7 @@ USER nginx
|
|||
|
||||
STOPSIGNAL SIGTERM
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||
HEALTHCHECK --interval=30s --timeout=5s --retries=3 CMD /usr/local/bin/healthcheck.sh
|
||||
ENTRYPOINT ["/usr/local/bin/entrypoint"]
|
||||
HEALTHCHECK --interval=30s --timeout=5s --retries=3 CMD /usr/local/bin/healthcheck
|
||||
WORKDIR /var/www/app
|
||||
CMD []
|
2
LICENSE
2
LICENSE
|
@ -1,6 +1,6 @@
|
|||
MIT License
|
||||
|
||||
Copyright (c) 2019 Robert Kaussow
|
||||
Copyright (c) 2021 Robert Kaussow <mail@thegeeklab.de>
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
of this software and associated documentation files (the "Software"), to deal
|
||||
|
|
51
README.md
51
README.md
|
@ -1,11 +1,16 @@
|
|||
# [kanboard](https://gitea.rknet.org/docker/kanboard)
|
||||
# kanboard
|
||||
|
||||
[![Build Status](https://drone.rknet.org/api/badges/docker/kanboard/status.svg)](https://drone.rknet.org/docker/kanboard/)
|
||||
[![Microbadger](https://images.microbadger.com/badges/image/xoxys/kanboard.svg)](https://microbadger.com/images/xoxys/kanboard "Get your own image badge on microbadger.com")
|
||||
Custom image for Kanboard Kanban project management
|
||||
|
||||
> **WARNING**: since release v1.2.1102 this image is a rootless image and may BREAK your setup!
|
||||
[![Build Status](https://img.shields.io/drone/build/docker/kanboard?logo=drone&server=https%3A%2F%2Fdrone.rknet.org)](https://drone.rknet.org/docker/kanboard)
|
||||
[![Docker Hub](https://img.shields.io/badge/dockerhub-latest-blue.svg?logo=docker&logoColor=white)](https://hub.docker.com/r/thegeeklab/kanboard)
|
||||
[![Quay.io](https://img.shields.io/badge/quay-latest-blue.svg?logo=docker&logoColor=white)](https://quay.io/repository/thegeeklab/kanboard)
|
||||
[![Source: Gitea](https://img.shields.io/badge/source-gitea-blue.svg?logo=gitea&logoColor=white)](https://gitea.rknet.org/docker/kanboard)
|
||||
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://gitea.rknet.org/docker/kanboard/src/branch/main/LICENSE)
|
||||
|
||||
Kanboard is project management software that focuses on the Kanban methodology.
|
||||
> **WARNING**: Since release v1.2.1102 this image is a rootless image and may BREAK your setup!
|
||||
|
||||
Custom rootless Docker image for Kanboard, a project management software that focuses on the Kanban methodology.
|
||||
|
||||
## Usage
|
||||
|
||||
|
@ -19,35 +24,12 @@ Here are some example snippets to help you get started creating a container. Thi
|
|||
docker create \
|
||||
--name=kanboard \
|
||||
-p 80:8080 \
|
||||
xoxys/kanboard
|
||||
thegeeklab/kanboard
|
||||
```
|
||||
|
||||
### Docker Compose
|
||||
|
||||
Compatible with docker-compose v2 schemas.
|
||||
|
||||
```Yaml
|
||||
---
|
||||
version: '2.1'
|
||||
|
||||
services:
|
||||
kanboard:
|
||||
container_name: kanboard
|
||||
image: xoxys/kanboard:latest
|
||||
ports:
|
||||
- "80:8080"
|
||||
volumes:
|
||||
- kanboard_data:/var/www/app/data
|
||||
- kanboard_plugins:/var/www/app/plugins
|
||||
environment:
|
||||
KANBOARD_PLUGIN_INSTALLER: "true"
|
||||
|
||||
volumes:
|
||||
kanboard_data:
|
||||
driver: local
|
||||
kanboard_plugins:
|
||||
driver: local
|
||||
```
|
||||
Please take a look at the [example](https://gitea.rknet.org/docker/kanboard/src/branch/main/docker-compose.yml) compose file from the git repo.
|
||||
|
||||
## Environment variables
|
||||
|
||||
|
@ -56,7 +38,6 @@ volumes:
|
|||
```Shell
|
||||
KANBOARD_PLUGIN_INSTALLER=false
|
||||
KANBOARD_CACHE_DRIVER=memory
|
||||
KANBOARD_MAIL_CONFIGURATION=true
|
||||
KANBOARD_MAIL_FROM=
|
||||
KANBOARD_MAIL_TRANSPORT=mail
|
||||
KANBOARD_MAIL_SMTP_HOSTNAME=
|
||||
|
@ -153,10 +134,6 @@ PHP_DATE_TIMEZONE=Europe/Berlin
|
|||
PHP_SQL_SAFE_MODE=On
|
||||
```
|
||||
|
||||
### License
|
||||
## License
|
||||
|
||||
This project is licensed under the MIT License - see the [LICENSE](https://gitea.rknet.org/docker/kanboard/src/branch/master/LICENSE) file for details.
|
||||
|
||||
### Maintainers and Contributors
|
||||
|
||||
[Robert Kaussow](https://gitea.rknet.org/xoxys)
|
||||
This project is licensed under the MIT License - see the [LICENSE](https://gitea.rknet.org/docker/kanboard/src/branch/main/LICENSE) file for details.
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
version: '2.1'
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
kanboard:
|
||||
container_name: kanboard
|
||||
image: xoxys/kanboard:latest
|
||||
image: thegeeklab/kanboard
|
||||
ports:
|
||||
- "80:8080"
|
||||
volumes:
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
image: xoxys/kanboard:{{#if build.tag}}{{trimPrefix "v" build.tag}}{{else}}latest{{/if}}
|
||||
{{#if build.tags}}
|
||||
tags:
|
||||
{{#each build.tags}}
|
||||
{{#if this}}
|
||||
- {{trimPrefix "v" this}}
|
||||
- {{trimPrefix "v" this}}-linux-amd64
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
manifests:
|
||||
- image: xoxys/kanboard:{{#if build.tag}}{{trimPrefix "v" build.tag}}-{{/if}}linux-amd64
|
||||
platform:
|
||||
architecture: amd64
|
||||
os: linux
|
|
@ -0,0 +1,2 @@
|
|||
ChangeLog
|
||||
config.default.php
|
|
@ -30,7 +30,7 @@ define('CACHE_DIR', '/var/www/app/data/cache');
|
|||
define('FILES_DIR', '/var/www/app/data/files');
|
||||
|
||||
// Enable/disable email configuration from the user interface
|
||||
define('MAIL_CONFIGURATION', {{ getenv "KANBOARD_MAIL_CONFIGURATION" "true" }});
|
||||
define('MAIL_CONFIGURATION', false);
|
||||
|
||||
// E-mail address used for the "From" header (notifications)
|
||||
define('MAIL_FROM', '{{ getenv "KANBOARD_MAIL_FROM" }}');
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
/usr/local/bin/gomplate -o /etc/php7/php.ini -f /etc/templates/php.ini.tmpl
|
||||
/usr/local/bin/gomplate -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 &
|
||||
exec nginx -g "daemon off;"
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/sh
|
||||
/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 &
|
||||
exec nginx -g "daemon off;"
|
|
@ -1,7 +1,8 @@
|
|||
#!/bin/sh
|
||||
#!/usr/bin/env sh
|
||||
|
||||
set -eo pipefail
|
||||
URL=http://localhost:8080
|
||||
|
||||
URL=http://127.0.0.1:8080
|
||||
|
||||
wget --quiet --tries=1 --spider ${URL}
|
||||
[ $? -ne 0 ] && exit 1
|
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
||||
"extends": ["github>thegeeklab/renovate-presets:docker"]
|
||||
}
|
Reference in New Issue