Upgraded mailu to version 1.9

This commit is contained in:
Kevin Veen-Birkenbach 2023-04-15 13:24:21 +02:00
parent 07bc312ea4
commit d8eb6a7dd3
4 changed files with 22 additions and 10 deletions

View File

@ -55,6 +55,14 @@ How to manage users is described here: https://mailu.io/master/cli.html
docker-compose -p mailu up -d docker-compose -p mailu up -d
``` ```
## debug ## debug
## database
### database access
To access the database execute
```bash
docker exec -it nextcloud_database_1 mysql -u nextcloud -D nextcloud -p
```
### mailu_front_1 ### mailu_front_1
```bash ```bash

View File

@ -36,7 +36,7 @@ services:
# Core services # Core services
front: front:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}nginx:${MAILU_VERSION:-1.8} image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}nginx:${MAILU_VERSION:-{{mailu_version}}}
restart: always restart: always
env_file: mailu.env env_file: mailu.env
logging: logging:
@ -57,7 +57,7 @@ services:
database: database:
condition: service_healthy condition: service_healthy
admin: admin:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}admin:${MAILU_VERSION:-1.8} image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}admin:${MAILU_VERSION:-{{mailu_version}}}
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
@ -65,10 +65,11 @@ services:
- "dkim:/dkim" - "dkim:/dkim"
depends_on: depends_on:
- front - front
- redis
logging: logging:
driver: journald driver: journald
imap: imap:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}dovecot:${MAILU_VERSION:-1.8} image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}dovecot:${MAILU_VERSION:-{{mailu_version}}}
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
@ -80,7 +81,7 @@ services:
driver: journald driver: journald
smtp: smtp:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}postfix:${MAILU_VERSION:-1.8} image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}postfix:${MAILU_VERSION:-{{mailu_version}}}
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
@ -92,7 +93,7 @@ services:
driver: journald driver: journald
antispam: antispam:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}rspamd:${MAILU_VERSION:-1.8} image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}rspamd:${MAILU_VERSION:-{{mailu_version}}}
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
@ -101,12 +102,14 @@ services:
- "/etc/mailu/overrides/rspamd:/etc/rspamd/override.d" - "/etc/mailu/overrides/rspamd:/etc/rspamd/override.d"
depends_on: depends_on:
- front - front
- redis
- antivirus
logging: logging:
driver: journald driver: journald
# Optional services # Optional services
antivirus: antivirus:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}clamav:${MAILU_VERSION:-1.8} image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}clamav:${MAILU_VERSION:-{{mailu_version}}}
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
@ -115,7 +118,7 @@ services:
driver: journald driver: journald
webdav: webdav:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}radicale:${MAILU_VERSION:-1.8} image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}radicale:${MAILU_VERSION:-{{mailu_version}}}
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:
@ -124,7 +127,7 @@ services:
driver: journald driver: journald
fetchmail: fetchmail:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}fetchmail:${MAILU_VERSION:-1.8} image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}fetchmail:${MAILU_VERSION:-{{mailu_version}}}
restart: always restart: always
env_file: mailu.env env_file: mailu.env
logging: logging:
@ -132,7 +135,7 @@ services:
# Webmail # Webmail
webmail: webmail:
image: ${DOCKER_ORG:-mailu}/${DOCKER_PREFIX:-}roundcube:${MAILU_VERSION:-1.8} image: ${DOCKER_ORG:-ghcr.io/mailu}/${DOCKER_PREFIX:-}roundcube:${MAILU_VERSION:-{{mailu_version}}}
restart: always restart: always
env_file: mailu.env env_file: mailu.env
volumes: volumes:

View File

@ -1 +1,2 @@
mailu_front_container_name: "mailu-front-1" mailu_front_container_name: "mailu-front-1"
mailu_version: "1.9"

View File

@ -1,5 +1,5 @@
[Unit] [Unit]
Description=docker volume update Description=docker volume backup
OnFailure=systemd-email@%n.service OnFailure=systemd-email@%n.service
[Service] [Service]