Compare commits

...
23 Commits
Author SHA1 Message Date
carla a3dd82d592 chore: publish 2.2.0+2.3.0 release
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is passing
2026-06-10 11:28:48 +02:00
carla 8f2427c43a chore: switch from postgres 13 to pgautoupgrade 17 alpine 2026-06-09 17:07:17 +02:00
carla a3e1bf9003 chore: update image tags 2026-06-08 21:08:02 +02:00
moritz 11057aaa7d Merge pull request 'chore: Configure Renovate' (#6) from renovate/configure into main
continuous-integration/drone/push Build is failing
Reviewed-on: #6
2026-04-28 09:55:48 +00:00
renovate-bot 345f2f620b Add renovate.json 2026-04-28 09:55:27 +00:00
moritz c925f1cedc chore: publish 2.1.0+2.2.2 release
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is passing
2026-03-24 13:30:15 +01:00
moritz 7246a8d475 chore: publish 2.0.0+2.1.0 release
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is failing
2026-03-17 00:34:46 +01:00
Apfelwurm 77b79f1e94 chore: publish 1.3.0+0.24.6 release
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is failing
2026-01-06 18:38:35 +01:00
Apfelwurm 3f0d97f064 fix: smtp.yml and add smtp options (#5)
continuous-integration/drone/push Build is failing
Adds all the smtp options, and moves the env variables to the right compose file

Reviewed-on: #5
Reviewed-by: kolaente <coopcloud-git@kolaente.de>
Co-authored-by: Apfelwurm <Alexander@volzit.de>
Co-committed-by: Apfelwurm <Alexander@volzit.de>
2026-01-06 17:33:39 +00:00
moritz 2710454c8e increase healthcheck retries
continuous-integration/drone/push Build is failing
2025-12-23 14:46:34 +01:00
simon 5958c4c3fe chore: publish 1.2.0+0.24.6 release
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2025-10-09 16:10:30 +02:00
simon 49ab93c503 fix traefik labels for v3 traefik
continuous-integration/drone/push Build is passing
2025-10-09 16:00:57 +02:00
simon f418cd1a40 Merge pull request 'fix: only set smtp secret when mailer is configured' (#3) from kolaente/coop-cloud-vikunja:fix/mailer into main
continuous-integration/drone/push Build is passing
Reviewed-on: #3
Reviewed-by: simon <simon@noreply.git.coopcloud.tech>
2025-09-09 13:03:27 +00:00
kolaente bd5545b614 fix: only set smtp secret when mailer is configured
This fixes a bug where Vikunja would not start because the smtp secret was not set. It would show nothing in the logs but `docker inspect` on the host yields

```
"unable to get config from config store: failed to expand templated config cghsr0po6tijn4wuah8zulg48: template: expansion:9:15: executing \"expansion\" at <secret \"smtp_password\">: error calling secret: secret target smtp_password not found",
```

This change fixes that by checking if the mailer is enabled.
2025-09-09 11:59:11 +00:00
3wordchant 0a6f397f4b Add CI and catalogue generation [mass update]
continuous-integration/drone/push Build is passing
2025-05-08 14:44:10 +02:00
moritz ba78d79998 chore: publish 1.1.1+0.24.6 release
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2025-02-04 18:51:07 +01:00
cas 5637a59368 chore: publish 1.1.0+0.24.6 release
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing
2025-01-19 10:28:23 -08:00
cas e039b08ff0 Update .drone.yml
continuous-integration/drone/push Build is passing
2025-01-08 10:09:13 -08:00
moritz db3edafbee add REDIRECT_DOMAIN
continuous-integration/drone/push Build is passing
2024-10-26 00:06:03 +02:00
moritz ce8c3eec63 add EXTRA_DOMAINS env
continuous-integration/drone/push Build is passing
2024-10-25 22:43:56 +02:00
moritz c4a74a817a fix drone runner
continuous-integration/drone/push Build is passing
2024-10-25 22:13:55 +02:00
moritz 2011a91921 chore: publish 1.0.3+0.24.2 release
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is passing
2024-10-25 21:50:45 +02:00
moritz dddc5f7df2 fix redis, don't publish ports! 2024-10-25 21:50:14 +02:00
9 changed files with 67 additions and 37 deletions
+3 -3
View File
@@ -17,8 +17,9 @@ steps:
DOMAIN: authentik.swarm-test.autonomic.zone
STACK_NAME: authentik
LETS_ENCRYPT_ENV: production
CONFIG_YML_VERSION: v1
CONFIG_YML_VERSION: v9
HEALTHCHECK_VERSION: v1
PG_BACKUP_VERSION: v2
SECRET_DB_PASSWORD_VERSION: v1
SECRET_JWT_SECRET_VERSION: v1
@@ -37,8 +38,7 @@ steps:
from_secret: drone_abra-bot_token
fork: true
repositories:
- coop-cloud/auto-recipes-catalogue-json
- toolshed/auto-recipes-catalogue-json
trigger:
event: tag
+5 -1
View File
@@ -7,6 +7,7 @@ DOMAIN=vikunja.example.com
## Domain aliases
#EXTRA_DOMAINS=', `www.vikunja.example.com`'
#REDIRECT_DOMAIN=www.vikunja.example.com
LETS_ENCRYPT_ENV=production
@@ -41,7 +42,10 @@ VIKUNJA_AUTH_LOCAL_ENABLED=false
# COMPOSE_FILE="${COMPOSE_FILE}:compose.smtp.yml"
# VIKUNJA_MAILER_ENABLED=true
# VIKUNJA_MAILER_HOST=mail.example.com
# VIKUNJA_MAILER_PORT=25
# VIKUNJA_MAILER_AUTHTYPE=plain # possible: plain, login, cram-md5
# VIKUNJA_MAILER_USERNAME=user
# VIKUNJA_MAILER_FROMEMAIL=user@example.com
# SECRET_SMTP_PASSWORD_VERSION=v1
# VIKUNJA_MAILER_SKIPTLSVERIFY=false
# VIKUNJA_MAILER_FORCESSL=false
# SECRET_SMTP_PASSWORD_VERSION=v1
+1 -1
View File
@@ -1,3 +1,3 @@
export CONFIG_YML_VERSION=v8
export CONFIG_YML_VERSION=v10
export HEALTHCHECK_VERSION=v1
export PG_BACKUP_VERSION=v2
+9 -5
View File
@@ -3,11 +3,15 @@ version: "3.8"
services:
app:
environment:
- SMTP_ENABLED
- SMTP_HOST
- SMTP_AUTHTYPE
- SMTP_USER
- SMTP_FROM_EMAIL
- VIKUNJA_MAILER_ENABLED
- VIKUNJA_MAILER_HOST
- VIKUNJA_MAILER_PORT
- VIKUNJA_MAILER_AUTHTYPE
- VIKUNJA_MAILER_SKIPTLSVERIFY
- VIKUNJA_MAILER_FORCESSL
- VIKUNJA_MAILER_USERNAME
- VIKUNJA_MAILER_PASSWORD_FILE=/run/secrets/smtp_password
- VIKUNJA_MAILER_FROMEMAIL
secrets:
- smtp_password
+37 -26
View File
@@ -2,13 +2,29 @@
version: "3.8"
services:
vikunja-init:
image: busybox:1.38.0
command:
[
"sh",
"-c",
"chown -R 1000:0 /app/vikunja/files && chmod -R 775 /app/vikunja/files && sleep 300",
]
volumes:
- files:/app/vikunja/files
deploy:
replicas: 1
restart_policy:
condition: none
max_attempts: 0
app:
image: vikunja/vikunja:0.24.2
image: vikunja/vikunja:2.3.0
environment:
- DOMAIN
- LOG_LEVEL
- VIKUNJA_RATELIMIT_NOAUTHLIMIT
- VIKUNJA_SERVICE_PUBLICURL=${DOMAIN}
- VIKUNJA_SERVICE_PUBLICURL=https://${DOMAIN}
- VIKUNJA_DATABASE_HOST=db
- VIKUNJA_DATABASE_PASSWORD_FILE=/run/secrets/db_password
- VIKUNJA_DATABASE_TYPE=postgres
@@ -21,12 +37,6 @@ services:
- VIKUNJA_CACHE_TYPE=redis
- VIKUNJA_SERVICE_ENABLEREGISTRATION=false
- VIKUNJA_SERVICE_JWTTTL=604800
- VIKUNJA_MAILER_ENABLED
- VIKUNJA_MAILER_HOST
- VIKUNJA_MAILER_AUTHTYPE
- VIKUNJA_MAILER_USERNAME
- VIKUNJA_MAILER_PASSWORD_FILE=/run/secrets/smtp_password
- VIKUNJA_MAILER_FROMEMAIL
- VIKUNJA_LOG_LEVEL
- VIKUNJA_LOG_DATABASE
- VIKUNJA_LOG_DATABASELEVEL
@@ -36,7 +46,7 @@ services:
- VIKUNJA_AUTH_LOCAL_ENABLED
- VIKUNJA_DEFAULTSETTINGS_DISCOVERABLE_BY_NAME
- VIKUNJA_DEFAULTSETTINGS_DISCOVERABLE_BY_EMAIL
volumes:
volumes:
- files:/app/vikunja/files
networks:
- proxy
@@ -50,33 +60,33 @@ services:
- source: healthcheck
target: /healthcheck
mode: 555
deploy:
labels:
- "traefik.enable=true"
- "traefik.swarm.network=proxy"
- "traefik.http.services.${STACK_NAME}.loadbalancer.server.port=3456"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`${EXTRA_DOMAINS})"
- "traefik.http.routers.${STACK_NAME}.middlewares=${STACK_NAME}-redirect"
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectregex.regex=^https://${REDIRECT_DOMAIN:-example.com}(.*)"
- "traefik.http.middlewares.${STACK_NAME}-redirect.redirectregex.replacement=https://${DOMAIN}$${1}"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "coop-cloud.${STACK_NAME}.version=1.0.2+0.24.2"
- "coop-cloud.${STACK_NAME}.version=2.2.0+2.3.0"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
healthcheck:
test: [ "CMD", "/healthcheck"]
test: ["CMD", "/healthcheck"]
interval: 30s
timeout: 10s
retries: 10
retries: 30
start_period: 1m
redis:
image: redis:7.4.1-alpine
image: redis:8.8.0-alpine
networks:
- internal
ports:
- "6379:6379"
db:
image: postgres:13
image: pgautoupgrade/pgautoupgrade:17-alpine
environment:
POSTGRES_PASSWORD_FILE: /run/secrets/db_password
POSTGRES_USER: vikunja
@@ -85,7 +95,10 @@ services:
- db:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -h localhost -U $$POSTGRES_USER"]
interval: 2s
interval: 10s
timeout: 10s
retries: 30
start_period: 1m
networks:
- internal
secrets:
@@ -95,23 +108,21 @@ services:
backupbot.backup: "${ENABLE_BACKUPS:-true}"
backupbot.backup.pre-hook: "/pg_backup.sh backup"
backupbot.backup.volumes.db.path: "backup.sql"
backupbot.restore.post-hook: '/pg_backup.sh restore'
backupbot.restore.post-hook: "/pg_backup.sh restore"
configs:
- source: pg_backup
target: /pg_backup.sh
mode: 0555
- source: pg_backup
target: /pg_backup.sh
mode: 0555
volumes:
files:
db:
networks:
proxy:
external: true
internal:
configs:
config_yml:
name: ${STACK_NAME}_config_yml_${CONFIG_YML_VERSION}
+4 -1
View File
@@ -5,14 +5,17 @@ service:
JWTSecret: {{ secret "jwt_secret" }}
database:
password: "{{ secret "db_password" }}"
{{ if eq (env "VIKUNJA_MAILER_ENABLED") "true" }}
mailer:
password: {{ secret "smtp_password" }}
{{ end }}
{{ if eq (env "OAUTH_ENABLED") "true" }}
auth:
openid:
enabled: {{ env "OAUTH_ENABLED" }}
providers:
- name: {{ env "OAUTH_NAME" }}
{{ env "OAUTH_NAME" }}:
name: {{ env "OAUTH_NAME" }}
authurl: {{ env "OAUTH_URL" }}
logouturl: {{ env "OAUTH_LOGOUT_URL" }}
clientid: {{ env "OAUTH_CLIENT_ID" }}
+1
View File
@@ -0,0 +1 @@
add missing smtp options and increase healthcheck retries
+1
View File
@@ -0,0 +1 @@
patch CVEs: CVE-2026-33312 and CVE-2026-29794
+6
View File
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}