From 895c6b0e9a3ad849ec4853fa59dd5482bfa366cd Mon Sep 17 00:00:00 2001 From: Vincent Baeten Date: Thu, 8 Jan 2026 17:22:43 +0100 Subject: [PATCH] feat(service): add redmine template (#6429) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: 🏔️ Peak <122374094+peaklabs-dev@users.noreply.github.com> --- public/svgs/redmine.svg | 22 ++++++++++++++++ templates/compose/redmine.yaml | 48 ++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) create mode 100644 public/svgs/redmine.svg create mode 100644 templates/compose/redmine.yaml diff --git a/public/svgs/redmine.svg b/public/svgs/redmine.svg new file mode 100644 index 000000000..5c7bd0f2b --- /dev/null +++ b/public/svgs/redmine.svg @@ -0,0 +1,22 @@ + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/templates/compose/redmine.yaml b/templates/compose/redmine.yaml new file mode 100644 index 000000000..23fe07bbe --- /dev/null +++ b/templates/compose/redmine.yaml @@ -0,0 +1,48 @@ +# documentation: https://www.redmine.org/ +# slogan: Redmine is a flexible project management web application. Written using the Ruby on Rails framework, it is cross-platform and cross-database. +# tags: redmine,project management +# logo: svgs/redmine.svg +# port: 3000 + +services: + redmine: + image: redmine:6-alpine + environment: + - SERVICE_FQDN_REDMINE_3000 + - SECRET_KEY_BASE=${SERVICE_PASSWORD_64_REDMINE} + - REDMINE_DB_POSTGRES=postgresql + - REDMINE_DB_PORT=5432 + - REDMINE_DB_USERNAME=${SERVICE_USER_POSTGRES} + - REDMINE_DB_PASSWORD=${SERVICE_PASSWORD_64_POSTGRES} + - REDMINE_DB_DATABASE=${POSTGRES_DATABASE:-redmine-db} + healthcheck: + test: + - CMD-SHELL + - "wget -qO- http://127.0.0.1:3000/" + interval: 5s + timeout: 5s + retries: 5 + volumes: + - redmine-config:/usr/src/redmine/config + - redmine-files:/usr/src/redmine/files + - redmine-themes:/usr/src/redmine/themes + - redmine-plugins:/usr/src/redmine/plugins + depends_on: + postgresql: + condition: service_healthy + + postgresql: + image: postgres:17-alpine + environment: + - POSTGRES_USER=${SERVICE_USER_POSTGRES} + - POSTGRES_PASSWORD=${SERVICE_PASSWORD_64_POSTGRES} + - POSTGRES_DB=${POSTGRES_DATABASE:-redmine-db} + volumes: + - postgresql-data:/var/lib/postgresql/data + healthcheck: + test: + - CMD-SHELL + - "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}" + interval: 5s + timeout: 5s + retries: 5