Compare commits

...
Author SHA1 Message Date
moosemower bab5bf5ade Experimental backupbot support 2026-10-23 13:44:45 -07:00
kawaiipunk ebe01e00cc chore: publish 3.2.1+2024.06.66 release
continuous-integration/drone/tag Build is passing
2026-10-22 16:36:00 +01:00
kawaiipunk 73787fef14 Merge pull request 'chore(deps): update ghcr.io/mailu/postfix docker tag to v2024.06.66' (#23) from renovate/ghcr.io-mailu-postfix-2024.x into main
Reviewed-on: #23
2026-10-22 15:29:47 +00:00
kawaiipunk c029f4e65a Merge pull request 'chore(deps): update ghcr.io/mailu/nginx docker tag to v2024.06.66' (#22) from renovate/ghcr.io-mailu-nginx-2024.x into main
Reviewed-on: #22
2026-10-22 15:29:40 +00:00
kawaiipunk 6d2bdf5303 Merge pull request 'chore(deps): update ghcr.io/mailu/dovecot docker tag to v2024.06.66' (#20) from renovate/ghcr.io-mailu-dovecot-2024.x into main
Reviewed-on: #20
2026-10-22 15:29:32 +00:00
kawaiipunk 5042e50f55 Merge pull request 'chore(deps): update ghcr.io/mailu/rspamd docker tag to v2024.06.66' (#24) from renovate/ghcr.io-mailu-rspamd-2024.x into main
Reviewed-on: #24
2026-10-22 15:29:23 +00:00
kawaiipunk 789a9d0f42 Merge pull request 'chore(deps): update ghcr.io/mailu/admin docker tag to v2024.06.66' (#19) from renovate/ghcr.io-mailu-admin-2024.x into main
Reviewed-on: #19
2026-10-22 15:29:09 +00:00
kawaiipunk 19afffd8cd chore: publish 3.2.0+2024.06.61 release
continuous-integration/drone/tag Build is passing
2026-10-22 16:14:31 +01:00
kawaiipunk 95b096c442 Merge pull request 'chore(deps): update ghcr.io/mailu/webmail docker tag to v2024.06.66' (#25) from renovate/ghcr.io-mailu-webmail-2024.x into main
Reviewed-on: #25
Reviewed-by: KawaiiPunk <5+kawaiipunk@noreply.git.coopcloud.tech>

This includes a mitigation for php2shell
2026-10-22 15:13:38 +00:00
renovate-bot 88f6f0b876 chore(deps): update ghcr.io/mailu/webmail docker tag to v2024.06.66 2026-10-22 14:15:50 +00:00
renovate-bot 872e098bb9 chore(deps): update ghcr.io/mailu/rspamd docker tag to v2024.06.66 2026-10-22 14:15:46 +00:00
renovate-bot 57fadc2ea4 chore(deps): update ghcr.io/mailu/postfix docker tag to v2024.06.66 2026-10-22 14:15:44 +00:00
renovate-bot 0f5ee292df chore(deps): update ghcr.io/mailu/nginx docker tag to v2024.06.66 2026-10-22 14:15:41 +00:00
renovate-bot 74e8c1a3cc chore(deps): update ghcr.io/mailu/dovecot docker tag to v2024.06.66 2026-10-22 14:15:39 +00:00
renovate-bot 2b721698b0 chore(deps): update ghcr.io/mailu/admin docker tag to v2024.06.66 2026-10-22 14:15:36 +00:00
renovate-bot bdaab88f08 Add renovate.json 2026-10-22 11:06:58 +00:00
notplants 89f88ce384 chore: publish 3.1.5+2024.06.61 release
continuous-integration/drone/tag Build is passing
2026-10-05 13:07:23 -04:00
autonomic-bot b244c2d855 chore: upgrade to 2024.06.61 (mailu) 2026-10-02 03:08:51 +00:00
autonomic-bot 302dfd23b7 chore: upgrade to 2024.06.60 (mailu + redis 8.10.2-alpine) 2026-09-28 21:18:06 +00:00
trav d31aa15791 chore: publish 3.1.4+2024.06.58 release
continuous-integration/drone/tag Build is passing
2026-08-24 12:42:11 -04:00
trav ec37f16553 Merge pull request 'Upgrade ee4e727' (#18) from upgrade-ee4e727 into main
Reviewed-on: #18
2026-08-24 16:41:40 +00:00
autonomic-bot 6edc435e32 chore: upgrade mailu to 2024.06.58, redis to 8.10.1-alpine 2026-08-21 03:21:11 +00:00
autonomic-bot ee4e7270c8 chore: upgrade mailu to 2024.06.58 2026-08-15 19:53:40 +00:00
notplants c75df76fa6 chore: publish 3.1.3+2024.06.57 release
continuous-integration/drone/tag Build is passing
2026-08-10 12:34:24 -04:00
notplants 0b33e79f1e Merge pull request 'chore: upgrade mailu to 2024.06.57, redis to 8.10.0-alpine' (#17) from upgrade-e19297a into main
Reviewed-on: #17
2026-08-10 16:33:51 +00:00
6 changed files with 69 additions and 8 deletions
+1
View File
@@ -1,3 +1,4 @@
export CERTDUMPER_POST_VERSION=v1
export POSTFIX_OVERRIDE_VERSION=v17
export SENDER_LOGIN_VERSIONS=v2
export PG_BACKUP_VERSION=v1
+24 -8
View File
@@ -55,7 +55,7 @@ x-environment:
services:
app:
image: ghcr.io/mailu/nginx:2024.06.57
image: ghcr.io/mailu/nginx:2024.06.66
logging:
driver: json-file
networks:
@@ -96,15 +96,25 @@ services:
- "traefik.http.routers.${STACK_NAME}.rule=Host(`${DOMAIN}`)"
- "traefik.http.routers.${STACK_NAME}.tls.certresolver=${LETS_ENCRYPT_ENV}"
- "traefik.http.routers.${STACK_NAME}.entrypoints=web-secure"
- "coop-cloud.${STACK_NAME}.version=3.1.2+2024.06.55"
- "backupbot.backup=true"
- "coop-cloud.${STACK_NAME}.version=3.2.1+2024.06.66"
db:
image: redis:8.10.0-alpine
image: redis:8.10.2-alpine
volumes:
- "redis:/data"
deploy:
labels:
backupbot.backup.pre-hook: "/pg_backup.sh backup"
backupbot.backup.volumes.postgres.path: "backup.sql"
backupbot.backup.post-hook: "/pg_backup.sh restore"
configs:
- source: pg_backup
target: /pg_backup.sh
mode: 0555
admin:
image: ghcr.io/mailu/admin:2024.06.57
image: ghcr.io/mailu/admin:2024.06.66
environment: *default-env
healthcheck:
disable: true
@@ -115,9 +125,12 @@ services:
- "mailu:/data"
networks:
- default
deploy:
labels:
- "backupbot.backup=true"
imap:
image: ghcr.io/mailu/dovecot:2024.06.57
image: ghcr.io/mailu/dovecot:2024.06.66
environment: *default-env
secrets:
- secret_key
@@ -131,7 +144,7 @@ services:
- default
smtp:
image: ghcr.io/mailu/postfix:2024.06.57
image: ghcr.io/mailu/postfix:2024.06.66
environment: *default-env
secrets:
- secret_key
@@ -143,7 +156,7 @@ services:
- app
antispam:
image: ghcr.io/mailu/rspamd:2024.06.57
image: ghcr.io/mailu/rspamd:2024.06.66
environment: *default-env
secrets:
- secret_key
@@ -154,7 +167,7 @@ services:
disable: true
webmail:
image: ghcr.io/mailu/webmail:2024.06.57
image: ghcr.io/mailu/webmail:2024.06.66
# entrypoint: "tail -f /dev/null"
environment: *default-env
networks:
@@ -221,6 +234,9 @@ configs:
certdumper_post:
name: ${STACK_NAME}_certdumper_post_${CERTDUMPER_POST_VERSION}
file: certdumper_post.sh
pg_backup:
name: ${STACK_NAME}_pg_backup_${PG_BACKUP_VERSION}
file: pg_backup.sh
secrets:
secret_key:
+36
View File
@@ -0,0 +1,36 @@
#!/bin/bash
set -e
BACKUP_FILE='/var/lib/postgresql/data/backup.sql'
# TODO: this recipe doesn't have a db_password secret.
function backup {
export PGPASSWORD=$(cat /run/secrets/db_password)
pg_dump -U ${POSTGRES_USER} ${POSTGRES_DB} > $BACKUP_FILE
}
function restore {
cd /var/lib/postgresql/data/
restore_config(){
# Restore allowed connections
cat pg_hba.conf.bak > pg_hba.conf
su postgres -c 'pg_ctl reload'
}
# Don't allow any other connections than local
cp pg_hba.conf pg_hba.conf.bak
echo "local all all trust" > pg_hba.conf
su postgres -c 'pg_ctl reload'
trap restore_config EXIT INT TERM
# Recreate Database
psql -U ${POSTGRES_USER} -d postgres -c "DROP DATABASE ${POSTGRES_DB} WITH (FORCE);"
createdb -U ${POSTGRES_USER} ${POSTGRES_DB}
psql -U ${POSTGRES_USER} -d ${POSTGRES_DB} -1 -f $BACKUP_FILE
trap - EXIT INT TERM
restore_config
}
$@
+1
View File
@@ -0,0 +1 @@
Contains mitigation measures for php2shell
+1
View File
@@ -0,0 +1 @@
Actual mitigation for php2shell pending further alpine image upgrades
+6
View File
@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
]
}