Compare commits

...

7 Commits

Author SHA1 Message Date
5e4ba7f327 revert 85d0c159b0
revert breaking log.maxAge change
2025-02-20 20:16:10 +00:00
e21dbc655a fix default values and breaking configuration for LOG_MAX_AGE change 2025-02-20 14:42:13 -05:00
b9d825b5c5 publish new version 2025-02-19 17:21:22 -05:00
74b3ee6716 chore: publish 3.1.0+v2.11.14 release 2025-02-19 17:20:04 -05:00
14d5d79520 Merge pull request 'Expose max log retention in traefik.yml' (#51) from sixsmith/traefik:master into master
Reviewed-on: coop-cloud/traefik#51
Reviewed-by: marlon <marlon@riseup.net>
2025-02-19 22:15:04 +00:00
7185e6ab43 Configure max log retention 2025-02-19 16:09:01 -05:00
85d0c159b0 Update .drone.yml 2025-01-08 10:09:13 -08:00
5 changed files with 7 additions and 2 deletions

View File

@ -10,6 +10,7 @@ LETS_ENCRYPT_EMAIL=certs@example.com
# DASHBOARD_ENABLED=true
# WARN, INFO etc.
LOG_LEVEL=WARN
LOG_MAX_AGE=0
# This is here so later lines can extend it; you likely don't wanna edit
COMPOSE_FILE="compose.yml"

View File

@ -1,3 +1,3 @@
export TRAEFIK_YML_VERSION=v21
export TRAEFIK_YML_VERSION=v22
export FILE_PROVIDER_YML_VERSION=v10
export ENTRYPOINT_VERSION=v4

View File

@ -27,6 +27,7 @@ services:
environment:
- DASHBOARD_ENABLED
- LOG_LEVEL
- LOG_MAX_AGE=${LOG_MAX_AGE:0}
healthcheck:
test: ["CMD", "traefik", "healthcheck"]
interval: 30s
@ -47,7 +48,7 @@ services:
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.http.routers.${STACK_NAME}.service=api@internal"
- "traefik.http.routers.${STACK_NAME}.middlewares=security@file"
- "coop-cloud.${STACK_NAME}.version=2.9.0+v2.11.14"
- "coop-cloud.${STACK_NAME}.version=3.1.0+v2.11.14"
- "coop-cloud.${STACK_NAME}.timeout=${TIMEOUT:-120}"
- "backupbot.backup=${ENABLE_BACKUPS:-true}"

1
release/3.1.0+v2.11.14 Normal file
View File

@ -0,0 +1 @@
Adds log retention configuration option

View File

@ -1,6 +1,8 @@
---
log:
level: {{ env "LOG_LEVEL" }}
maxAge: {{ env "LOG_MAX_AGE" }}
providers:
docker: